青成林语

协助他人,成就彼此 ^_^
kubernetes的node节点无法部署pod

尝试了网上的方法,都没有用,最后能重启机器和重启kubectl解决了

报错:

Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "b011fb23983adc069b7f580a6f7d66ea5fd4829a8570a11f79762c0bbce6017f" network for pod "pod-test": networkPlugin cni failed to set up pod "pod-test_test" network: error getting ClusterInformation: connection is unauthorized: Unauthorized, failed to clean up sandbox container "b011fb23983adc069b7f580a6f7d66ea5fd4829a8570a11f79762c0bbce6017f" network for pod "pod-test": networkPlugin cni failed to teardown pod "pod-test_test" network: error getting ClusterInformation: connection is unauthorized: Unauthorized]

处理过程截图

 

 

 

 

 

 

从图中库看出来node2节点一直无法部署新的pod,网上说把这台机器剔除,我试了一下,好久都没有踢掉,就算了,后面他调度变成不可调度了,然后重启三个节点解决了,还好是测试环境,先记录一下,后面看在遇到仔细分析一下。

posted on 2022-12-29 12:14  青成林语  阅读(2393)  评论(0编辑  收藏  举报