kube-apiserver docker is restarting continuously kube-apiserver docker is restarting continuously kubernetes kubernetes

kube-apiserver docker is restarting continuously


Generating a new cert using openssl for kube-apiserver and replacing the cert and key brought the kube-apiserver docker to stable state and provided access via kubectl.

To resolve etcd-manager certs issue, upgraded etcd-manager to kopeio/etcd-manager:3.0.20200531 for both etcd-manager-main and etcd-manager-events as described at https://github.com/kubernetes/kops/issues/8959#issuecomment-673515269

Thank you


I think this is related to the ETCD. you may have renewed the certs for Kubernetes components but did you do the same for ETCD?Your API server is trying to connect to the ETCD and giving:

tls: private key does not match public key)

As you have only 1 etcd(assuming on the number of master nodes) I would do a backup of it before trying to fix it.