When we use kubeadm to set up a k8s cluster, there are two options to config:
--pod-network-cidr
--service-cidr
(default ‘10.96.0.0/12’)
Question is:
If I use 10.244.0.0./12
for pod-network-cidr
, do I need to save that IP range for Kubernetes? What happens if we already start to use 10.244.0.0/12
for other machines.
Can I set service-cidr
and the pod-network-cidr
the same range? I don't understand how service-cidr
works.
To reply briefly:
Check out these slides for explanation about the different networks in play.