Hey folks, anyone knows why pod-cidr allocated by weave is different than the on . . .

SaidBen:
Hey folks, anyone knows why pod-cidr allocated by weave is different than the one defined in the controller manager? fyi, the cluster-cidr flag in controller manager represents the pod cidr. Thanks

Mohamed Ayman:
kubeadm init --pod-network-cidr: Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. check here for more info https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#options|https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#options

IPALLOC_RANGE - the range of IP addresses used by Weave Net and the subnet they are placed in (CIDR format; default 10.32.0.0/12) check here for more info https://www.weave.works/docs/net/latest/kubernetes/kube-addon/|https://www.weave.works/docs/net/latest/kubernetes/kube-addon/

SaidBen:
Thanks @Mohamed Ayman! I usually define the pod cidr when i run kubeadm init but it seems like weave overwrites it with 10.32.0.0/12