Calico Kubeconfig Expires Causing Unauthorized Errors And Pods Creation is Failing
Problem
Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "2e89d4554a181d4fb6277e83b0ee5433f915c6ebbcfce78a04d405eed3d135aa" network for pod "xxxxx-6dbdb4d58f-f6nwr": networkPlugin cni failed to set up pod "xxxxx-6dbdb4d58f-f6nwr_mm-to-core" network: error getting ClusterInformation: connection is unauthorized: Unauthorized, failed to clean up sandbox container "2e89d4554a181d4fb6277e83b0ee5433f915c6ebbcfce78a04d405eed3d135aa" network for pod "xxxxxx-6dbdb4d58f-f6nwr": networkPlugin cni failed to teardown pod "xxxxxx-6dbdb4d58f-f6nwr_mm-to-core" network: error getting ClusterInformation: connection is unauthorized: UnauthorizedCause
Resolution
# kubectl rollout restart daemonset/calico-node -n kube-systemAdditional Information
PreviousKubeStateMetrics(KSM) Using Deprecated API versionNextEtcdctl Command Fails if --cert, --cacert, --key flags Are Not Passed
Last updated
