After updating the certificates, all of my deployments were lost:
#19,134 opened on Jun 24, 2024
Description
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