现象:Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "84f81f2eb977db06dcafa1bd9d6000bc562d0c57b83484d16e08843bd11e18e3" network for pod "nginx-6799fc88d8-2rnkq": networkPlugin cni failed to set up pod "nginx-6799fc88d8-2rnkq_default" network: error getting ClusterInformation: connection is unauthorized: Unauthorized, failed to clean up sandbox container "84f81f2eb977db06dcafa1bd9d6000bc562d0c57b83484d16e08843bd11e18e3" network for pod "nginx-6799fc88d8-2rnkq": networkPlugin cni failed to teardown pod "nginx-6799fc88d8-2rnkq_default" network: error getting ClusterInformation: connection is unauthorized: Unauthorized]

1、原因: calico  网络插件证书过期问题导致

2、解决方案

重启calico网络插件即可

 

posted on 2023-08-15 22:28  MhaiM  阅读(633)  评论(0编辑  收藏  举报