k8s基础知识

作者: 进击云原生 | 来源:发表于2019-04-11 11:49 被阅读1次

    Namespace命名规范:
    命名空间名称满足正则表达式a-z0-9?,最大长度为63位

    kubeadm init初始化集群后,kubectl get nodes报错:

    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
    

    参考issue:https://github.com/kubernetes/kubernetes/issues/48378

    image.png

    相关文章

      网友评论

        本文标题:k8s基础知识

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