How To Change calicoIpIpMode to Never in Existing PMK Cluster

Problem

How to change calicoIpIpMode to Never in an existing PMK cluster?

Environment

  • Platform9 Managed Kubernetes - v5.2 and Higher
  • Calico CNI

Procedure

For example, consider a single master node Calico CNI cluster created with calicoIpIpMode as Always.

Bash
Copy

Reference: How-To Run Calicoctl Commands

Bash
Copy
Bash
Copy
Bash
Copy

Change the ipipMode from Always to Never & apply the change. Once this is done, the change will get updated on the routing table of all nodes part of the cluster.

Bash
Copy
Bash
Copy

As long as the IPPool object exists in the cluster, independently of the changed contents, it will not be recreated post cluster upgrade. However, as good practice, one can also opt to update the value in Qbert DB, so that when the next upgrade/reboot of the stack happens, the information displayed for the cluster with regards to the calico properties is up to date. Please reach out to Platform9 Support to get the change implemented in Qbert DB for SaaS customers.

##

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard