1、现象:

 Warning  FailedCreatePodSandBox  4m57s                kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "32a15f820bde044b8790a1b14bc78cad06aaadf1baf2606e535a78639f9000be": plugin type="calico" failed (add): 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")

2、分析原因

看事件信息报 calico x509 认证错误,原因是缺少了calico-kube-controllers 组件做认证分发

3、解决方案

部署calico-kube-controllers  组件即可

posted on 2023-03-14 11:07  MhaiM  阅读(833)  评论(0编辑  收藏  举报