Recreating a calico pod that is in the CrashLoopBackOff state

If you complete an upgrade and find that one or more of the calico pods are in the CrashLoopBackOff state, you can delete the pod to recreate it.

Complete the following steps:

  1. Get the names of the calico pods:
    kubectl -n kube-system get pods | grep calico
  2. Recreate each pod by deleting it with the following command:
    kubectl -n kube-system delete pod <calico_pod_name>