how to delete/remove calico cni from my kubernetes cluster

AATHITH RAJENDRAN picture AATHITH RAJENDRAN · Dec 4, 2018 · Viewed 15k times · Source

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?

Answer

Prafull Ladha picture Prafull Ladha · Dec 4, 2018

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