Uninstall Calico Cloud from a cluster
Whether you've finished with your Calico Cloud Trial or decided to disconnect your cluster from Calico Cloud, we know you want your cluster to remain functional. We highly recommend running a simple script to migrate your cluster to open-source Project Calico.
Before you start...
Ensure that you have
kubectl access to your Kubernetes cluster you wish to disconnect from Calico Cloud.
About the migration script
The script migrates all applicable Calico Cloud components to open-source Project Calico; this includes
removal and cleanup of all Calico Cloud components that have no equivalents in Project Calico.
Because Project Calico does not have the tier resource, the script will exit if any policies
exist in any tier except for the
To remove policies from tiers, you have these options:
- Manually move policies out of tiers prior to running the script
- Let the script remove ALL Calico policies by specifying the
To successfully downgrade to an open-source Calico configuration, policies must allow necessary traffic to and from Calico Cloud and open-source Calico namespaces. If you keep policies in the default tier (especially GlobalNetworkPolicies), and you have default deny policies, update or add policies accordingly to allow this necessary traffic.
Run the migration script
Download the script
curl -O https://installer.calicocloud.io/manifests/v3.18.0-1.1-2/downgrade.sh.
Make the script executable
chmod +x downgrade.sh.
Run the script and read the help to determine if you need to specify any flags
Run the script with any needed flags, for example:
Continue using your cluster with open-source Project Calico.