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