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
forpod-network-cidr
, do I need to save that IP range for Kubernetes? What happens if we already start to use10.244.0.0/12
for other machines.Can I set
service-cidr
and thepod-network-cidr
the same range? I don't understand howservice-cidr
works.
To reply briefly:
Check out these slides for explanation about the different networks in play.