美文网首页
执行kubectl出现x509

执行kubectl出现x509

作者: 阿当运维 | 来源:发表于2021-06-02 16:51 被阅读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
    

    相关文章

      网友评论

          本文标题:执行kubectl出现x509

          本文链接:https://www.haomeiwen.com/subject/wlgzsltx.html