现象: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网络插件即可
分类:
K8S
« 上一篇: K8S 1.27.1版本初始化配置文件时报your configuration file uses an old API spec: "kubeadm.k8s.io/v1beta2". Please use kubeadm v1.22 instead and run 'kubeadm config migrate
» 下一篇: 执行kubeadm 出现 FATAL: the ConfigMap "kubeadm-config" in the kube-system namespace used for getting configuration information was not found
» 下一篇: 执行kubeadm 出现 FATAL: the ConfigMap "kubeadm-config" in the kube-system namespace used for getting configuration information was not found
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端