K8S常见错误
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")mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 18.09.1. Latest validated version: 18.06yum remove –y docker-ce
yum list docker-ce --showduplicates|sort -r You can now join any number of machines by running the following on each node
as root:
kubeadm join 192.168.188.130:6443 --token 9ardbs.4jhr5yaammfi7nnw --discovery-token-ca-cert-hash sha256:9fae5fb2de988967ba4e0e4ea468d39c942f92d19b59142fb8be3a27c6be8186kubeadm join 192.168.188.130:6443 --token 9ardbs.4jhr5yaammfi7nnw --discovery-token-ca-cert-hash sha256:9fae5fb2de988967ba4e0e4ea468d39c942f92d19b59142fb8be3a27c6be8186Run 'kubectl get nodes' on the master to see this node join the cluster.error: You must be logged in to the server (the server has asked for the client to provide credentials)
最后更新于