Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container “79d8bb5525944001a5542129c794e2608ec444b53ff60fbf589e4c438aab56a2” network for pod “kuboard-age nt-2-779fb68ccf-lsjq6”: networkPlugin cni failed to set up pod “kuboard-agent-2-779fb68ccf-lsjq6_kuboard” network: error getting ClusterInformation: Get https://[10.96.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default: x509: certificate signed by unknown authority (possibly because of “crypto/rsa: verification error” while trying to verify candidate authority certificate “kubernetes”), failed to clean up sandbox container “79d8bb5525944001a5542129c794e2608ec444b53ff60fbf589e4c438aab56a2” network for pod “kuboard-agent-2-779fb68ccf-lsjq6”: networkPlugin cni failed to teardown pod “kuboard-agent-2-779fb68ccf-lsjq6_kuboard” network: error getting ClusterInformation: Get https://[10.96.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default: x509: certificate signed by unknown authority (possibly because of “crypto/rsa: verification error” while trying to verify candidate authority certificate “kubernetes”)] Normal SandboxChanged 48s (x26 over 5m56s) kubelet, node02 Pod sandbox changed, it will be killed and re-created.

  sre

154439483e890eff.jpg
报错信息:

Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "79d8bb5525944001a5542129c794e2608ec444b53ff60fbf589e4c438aab56a2" network for pod "kuboard-age
nt-2-779fb68ccf-lsjq6": networkPlugin cni failed to set up pod "kuboard-agent-2-779fb68ccf-lsjq6_kuboard" network: error getting ClusterInformation: Get https://[10.96.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes"), failed to clean up sandbox container "79d8bb5525944001a5542129c794e2608ec444b53ff60fbf589e4c438aab56a2" network for pod "kuboard-agent-2-779fb68ccf-lsjq6": networkPlugin cni failed to teardown pod "kuboard-agent-2-779fb68ccf-lsjq6_kuboard" network: error getting ClusterInformation: Get https://[10.96.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")]  Normal   SandboxChanged          48s (x26 over 5m56s)  kubelet, node02    Pod sandbox changed, it will be killed and re-created.

解决:
pod和svc cidr有冲突造成,重新指定cidr解决

LEAVE A COMMENT

Captcha Code