ubuntu18 安装k8s
k8s查看token,discovery-token-ca-cert-hash
discovery-token-ca-cert-hash:openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed 's/^.* //'
token:kubeadm token list
生成token:kubeadm
原创
2021-10-25 18:58:34 ·
502 阅读 ·
0 评论