K8S证书有效期更新
[root@k8s-master01 ~]# kubeadm certs check-expiration --查看证书有效期
[root@k8s-master01 /etc/kubernetes/pki]# cp -rp /etc/kubernetes/pki/ /opt/pki.bak --备份证书
[root@k8s-master01 /etc/kubernetes/pki]# kubeadm certs renew all ---更新证书
[root@k8s-master01 ~]# systemctl restart kubelet.service ---重启服务