kubernetes: providing explicit CIDRs for pods/services

1/6/2018

A kubernetes cluster, unless I am wrong, incorporates 3 networks:

  • the physical network connecting the master(s)/worker(s)
  • a virtual network interconnecting the pods (where all pods can reach each other)
  • a virtual network where the services are exposed

my question is whether at some point (i.e. when creating the cluster via say kops) one can provision for specific CIDRs for the two virtual nets

-- pkaramol
kubernetes

1 Answer

1/7/2018

when you execute kubeadm init --pod-network-cidr 10.244.0.0/16,You provision CIDR for pods network.this network used by Flunnel or other CNI addon for routable . But service IP not need routable

-- mosaic
Source: StackOverflow