Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Increase Existing Kubernetes Cluster Node Count for Flannel CNI
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
During cluster creation, the container CIDR value for a cluster having Flannel CNI was set to 10.20.0.0/16. This will allow for a maximum of 256 nodes considering the CNI interfaces have a /24 CIDR.
Can the Container CIDR be modified for an existing cluster to say, for example /14 to allow the addition of worker nodes beyond the current limit?
Environment
- Platform9 Managed Kubernetes - All Versions
- Flannel
Procedure
Customers will need to ensure all running pods/workloads within the cluster are terminated prior to this operation.
- Contact Platform9 Support so that they make the changes in the Backend Qbert DB to update the containerCIDR to a new subnet for the cluster.
- Once the change is done, delete cni0 and flannel0 interfaces on all the nodes part of the cluster.
xxxxxxxxxx~$ sudo ip link del cni0~$ sudo ip link del flannel0- Restart the PMK stack in a rolling fashion on the Master Nodes which will tear down everything including any running pods and starts over again.
xxxxxxxxxx~$ systemctl stop pf9-hostagent pf9-nodeletd~$ /opt/pf9/nodelet/nodeletd phases stop~$ systemctl start pf9-hostagent- Perform the same PMK Stack restart operation in batches or all together for the Worker nodes.
- Post that, ensure that the cni0 and flannel0 interfaces comes up with the changed CIDR values.
- Test the pod deployment and the Pod to Pod connectivity amongst the master and worker nodes.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message