执行kubectl出现x509

2021-06-02  本文已影响0人  阿当运维

kubectl get pods -n kube-system
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")
解决:

export KUBECONFIG=/etc/kubernetes/kubelet.conf
上一篇下一篇

猜你喜欢

热点阅读