共计 428 个字符,预计需要花费 2 分钟才能阅读完成。
cat /etc/kubernetes/kubelet.conf
openssl x509 -in /var/lib/kubelet/pki/kubelet-client-current.pem -noout -text |grep 'Not'
openssl x509 -in /var/lib/kubelet/pki/kubelet-client-current.pem -noout -text |grep 'Not'
rm -f /var/lib/kubelet/pki/kubelet-client-current.pem
systemctl restart kubelet
openssl x509 -in /var/lib/kubelet/pki/kubelet-client-current.pem -noout -text |grep 'Not'
kubectl get csr|grep 'Pending' | awk 'NR>0{print $1}'| xargs kubectl certificate approve
正文完
发表至: kubernetes
2021-02-23