4 Removing the Calico Module

You can remove a deployment of the Calico module and leave the Kubernetes cluster in place. To do this, you remove the Calico module from the environment.

Important:

If you remove the Calico module, no Kubernetes CNI is set for the pods in the cluster.

Use the olcnectl module uninstall command to remove the Calico module. For example, to uninstall the Calico module named mycalico in the environment named myenvironment:

olcnectl module uninstall \
--environment-name myenvironment \
--name mycalico

The Calico module is removed from the environment.

As the networking policies to secure the cluster are removed when you uninstall the Calico module, it's highly recommended you enable the firewalld service on each Kubernetes node to protect the cluster. To enable the firewalld service, on each Kubernetes node, run:
sudo systemctl start firewalld.service
sudo systemctl enable firewalld.service