set --allocate-node-cidrs=false
on the Kubernetes controller manager when using Calico IPAM
#1885
Labels
--allocate-node-cidrs=false
on the Kubernetes controller manager when using Calico IPAM
#1885
Calico IPAM doesn't use the
.spec.podCIDR
or.spec.podCIDRs
on the Nodes, so there's no need for letting Kubernetes allocate CIDRs for Nodes. Add instructions to tell Calico IPAM users to set--allocate-node-cidrs=false
on the Kubernetes controller manager when initializing a cluster. This will suppress Kubernetes' CIDR allocations and leave that job to the CNI IPAM plugin, where it belongs.It should prevent messages like these from appearing on the Nodes when the Kubernetes controller manager options are misconfigured:
There's talk among the Kubernetes team of deprecating
podCIDR
andpodCIDRs
anyway.(The above contains speculation. Double check.)
see also: Slack discussion
The text was updated successfully, but these errors were encountered: