My kubernetes PKI expired (API server to be exact) and I can\'t find a way to renew it. The error I get is
May 27 08:43:51 node1 kubelet[8751]: I0527 08:43:5
This will update all certs under /etc/kubernetes/ssl
/etc/kubernetes/ssl
kubeadm alpha certs renew all --config=/etc/kubernetes/kubeadm-config.yaml
and do this to restart server commpenont:
kill -s SIGHUP $(pidof kube-apiserver) kill -s SIGHUP $(pidof kube-controller-manager) kill -s SIGHUP $(pidof kube-scheduler)