k8s基础知识
2019-04-11 本文已影响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