卸载 calico 后,kubectl -f calico.yaml,无法在集群中创建新的 Pod。集群中的任何新 pod 都停留在容器创建状态。Kubectl describe 显示以下错误:
Warning FailedCreatePodSandBox 2m kubelet, 10.0.12.2 Failed create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "f15743177fd70c5eabf70c60be5b8b354e5346837d1b5d59bf99d1d1b5d6416c" network for pod "test-9465-768b57b5df-fv9d4": NetworkPlugin cni failed to set up pod "test-9465-768b57b5df-fv9d4_policy-demo" network: error getting ClusterInformation: connection is unauthorized: Unauthorized, failed to clean up sandbox container "f15743177fd70c5eabf70c60be5b8b354e5346837d1b5d59bf99d1d1b5d6416c" network for pod "test-9465-768b57b5df-fv9d4": NetworkPlugin cni failed to拆解吊舱“test-9465-768b57b5df-fv9d4_policy-demo”网络:获取 ClusterInformation 时出错:连接未授权:未授权]