Change cluster cidr


#1

Hi I created one cluster with paraeters --cluster-cidr=10.233.64.0/18, it only supports 64 nodes. But the node get more. How can I change the -cluster-cidr? Thanks!


#2

On what platform? In general you can grow that CIDR as long as the old CIDR is included. Changing the CIDR completely means you have to tear down all pods and reconfigure all nodes.

I don’t know if any of the main cloud platforms support this as a feature, though.

Alternatively you could reduce the per-node CIDR to /25 or /26 and double or quadruple your node count. Assuming you don’t need so many pods per node…