how to delete/remove calico cni from my kubernetes cluster
20,711
Use following two commands to remove calico from your node:
kubectl delete -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
kubectl delete -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calico-networking/1.7/calico.yaml
Author by
AATHITH RAJENDRAN
in a Legal Services providing company located in Capital of Tamil Nadu, India. Contact me any time on LinkedIn
Updated on July 09, 2022Comments
-
AATHITH RAJENDRAN almost 2 years
I have installed my kubernetes cluster(1master, 3worker)in the digital ocean.
The problem is I installed both flannel and calico in this cluster.
I want to remove the calico completely from my cluster or is it ok to have multiple CNI? -
Prafull Ladha over 5 yearsHow did you add calico to the cluster or it came by default with cluster deployment?
-
shreyas almost 4 yearsdo we need to replace v3.3 in the URL with our installed version?
-
CashIsClay over 3 yearsDid I miss where the question indicates they use Ansible?
-
clxoid over 3 years@CashIsClay that's right, you miss the fact that this question is edited in Dec 19 2019, and my answer was Dec 4 2018.
-
Coffeeholic over 3 years@coolinuxoid the revision of the edit only shows that
or is it ok to have multiple CNI?
was added.. no mention of Ansible -
clxoid over 3 years@Coffeeholic not sure what you are trying to achieve but I am sure that question was with Ansible related. I remember this very well
-
solveit almost 3 years@PrafullLadha-: I tried your Kubectl delete commands but I am not able to delete calicoctl . The command and calico pods are still up. My calico version is: Client Version: v3.19.1 Git commit: 6fc0db96