Deepak Mourya:
Hi Guys,In the question installing Kubeadm on the cluster. How do we decide what IP range should be use in the --pod-network-cidr
. Do we need to start installing with the very first command from the documentation, example " checking br_netfilter" ?
Mohamed Ayman:
you can start with any range you want. /16 is fine.
Ioannis Angelakopoulos:
If you use the Weave plugin then you do not need to provide --pod-network-cidr
If you use Flannel then the default pod subnet is: 10.244.0.0/16
For custom one, you need to edit the kube-flannel.yml before applying it.
If you use Calico then you need to use 192.168.0.0/16
, or if you want a custom one then you need to uncomment and change the CALICO_IPV4POOL_CIDR environment variable in the calico yaml.
Generally, if you need to use a custom one, choose from a /16 subnet mask and be careful not to overlap with any other networks in use!