Welcome to the Linux Foundation Forum!

lab3.1

Hi, i am installing kubernetes lab3.1 step 13.

my question is what value should I put for podSubnet? Sample yaml has 192.168.0.0/16 but I am not sure it's the right value

Comments

  • chrispokorni
    chrispokorni Posts: 2,349

    Hi @sergeizak,

    That value is not a sample, it is the default IP range that is used by calico for Pod networking. If you suspect it will cause any issues, you may use a different IP range, but make sure you are consistent with that range and update calico.yaml and kubeadm-config.yaml.

    Depending on your setup, if your node IP addresses overlap the Pod IP range, then it is recommended to modify one or the other. Having Pod IP addresses overlap host/node IP addresses will cause DNS issues in your Kubernetes cluster.

    Regards,
    -Chris

Categories

Upcoming Training