kubernetes/minikube

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

Open

#19.134 aberto em 24 de jun. de 2024

Ver no GitHub
 (7 comments) (1 reaction) (1 assignee)Go (5.222 forks)batch import
help wantedkind/supportlong-term-support

Métricas do repositório

Stars
 (31.799 stars)
Métricas de merge de PR
 (Mesclagem média 26d 4h) (55 fundiu PRs em 30d)

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

Guia do colaborador