kubernetes/minikube

After updating the certificates, all of my deployments were lost:

Open

#19.134 geöffnet am 24. Juni 2024

Auf GitHub ansehen
 (7 Kommentare) (1 Reaktion) (1 zugewiesene Person)Go (5.222 Forks)batch import
help wantedkind/supportlong-term-support

Repository-Metriken

Stars
 (31.799 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 26T 4h) (55 gemergte PRs in 30 T)

Beschreibung

After updating the certificates, all of my deployments were lost:

root@minikube:/home/docker# PATH="/var/lib/minikube/binaries/v1.26.3:$PATH"

root@minikube:/home/docker# kubeadm certs renew all --cert-dir /var/lib/minikube/certs MISSING! certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself certificate for serving the Kubernetes API renewed certificate the apiserver uses to access etcd renewed certificate for the API server to connect to kubelet renewed MISSING! certificate embedded in the kubeconfig file for the controller manager to use certificate for liveness probes to healthcheck etcd renewed certificate for etcd nodes to communicate with each other renewed certificate for serving etcd renewed certificate for the front proxy client renewed MISSING! certificate embedded in the kubeconfig file for the scheduler manager to use Done renewing certificates. You must restart the kube-apiserver, kube-controller-manager, kube-scheduler and etcd, so that they can use the new certificates.

Is it possible to recover my deployments somehow?

Originally posted by @valsv in https://github.com/kubernetes/minikube/issues/10122#issuecomment-2078653733

Contributor Guide