kubernetes/minikube

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

Open

#19,134 创建于 2024年6月24日

在 GitHub 查看
 (7 评论) (1 反应) (1 负责人)Go (5,222 fork)batch import
help wantedkind/supportlong-term-support

仓库指标

Star
 (31,799 star)
PR 合并指标
 (平均合并 26天 4小时) (30 天内合并 55 个 PR)

描述

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

贡献者指南