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
网友评论