CIDR Pools

Configure custom CIDR pools

CIDR Pools

There are two pools used for allocating addresses in Kubernetes: one for pods and one for services. Konvoy ships with the default pod CIDR of 192.168.0.0/16 and a service CIDR of 10.0.0.0/18.

Configure Custom CIDR Pools

The IPV4 CIDR pools used by Calico can be set using two optional settings spec.kubernetes.networking.podSubnet and spec.kubernetes.networking.serviceSubnet in cluster.yaml:

kind: ClusterConfiguration
apiVersion: konvoy.mesosphere.io/v1beta2
spec:
  kubernetes:
    networking:
      podSubnet: 192.168.0.0/16
      serviceSubnet: 10.0.51.0/24

WARNING: Ensure that podSubnet and serviceSubnet pools do not overlap.

WARNING: Changing podSubnet or serviceSubnet pools after the initial cluster creation is not supported and will render your cluster inoperable.

For more information see: