I’m prepping our dev cluster for Ipv4/6 dual stack and I’m following these instructions:
I’m hoping someone here has some experience with it and can clear up the confusion
Specifically in step 2 I’m instructed to set
the same as the IPv6 range you configured as the cluster CIDR to kube-controller-manager and kube-proxy
I wouldn’t normally configure this CIDR for ipv4, since I use kubeadm and the configuration is picked up automatically. Do I need to add it for v6 or will it also get picked up automatically?
ref (emphasis added): https://docs.projectcalico.org/getting-started/kubernetes/self-managed-onprem/onpremises
If you are using pod CIDR
192.168.0.0/16, skip to the next step. If you are using a different pod CIDR with kubeadm, no changes are required - Calico will automatically detect the CIDR based on the running configuration. For other platforms, make sure you uncomment the CALICO_IPV4POOL_CIDR variable in the manifest and set it to the same value as your chosen pod CIDR.
Then, for the BGP configuration: https://docs.projectcalico.org/reference/resources/bgpconfig
serviceClusterIPs field is defined as
A list of valid IPv4 CIDR blocks.
But since I’m using dual stack, services should be able to get an ipv6 address if their
ipFamily field is set to
IPv6. How do I put an IPV6 cidr? Do I actually need this option if I only want service clusterIP addresses to be accessible inside the cluster or is this for getting external traffic to those IPs?