Skip to content

Version and Certificate Generation #20603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ap7458 opened this issue Apr 7, 2025 · 1 comment
Open

Version and Certificate Generation #20603

ap7458 opened this issue Apr 7, 2025 · 1 comment

Comments

@ap7458
Copy link

ap7458 commented Apr 7, 2025

What Happened?

❗ kubeadm certificates have expired. Generating new ones...

❌ Exiting due to GUEST_CERT: Failed to setup certs: renew expired kubeadm certs: kubeadm certs renew: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.32.0:$PATH" kubeadm certs renew all --config /var/tmp/minikube/kubeadm.yaml": Process exited with status 1
stdout:

stderr:
W0407 19:14:23.727140 21001 common.go:101] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
W0407 19:14:23.727527 21001 common.go:101] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "InitConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
this version of kubeadm only supports deploying clusters with the control plane version >= 1.31.0. Current version: v1.28.3
To see the stack trace of this error execute with --v=5 or higher

Attach the log file

logs.txt

Operating System

macOS (Default)

Driver

Docker

@medyagh
Copy link
Member

medyagh commented Apr 9, 2025

I am curious is there any time-date change on your host ? also do you know how old is this cluster ? could be more than 1 year ? ( we shoudl have a code that Refreshes the Certs after they expire but maybe it is not working properly)
and does deleting and recreating it helps ?

btw I noticed you are using minikube 1.32, the current version is 1.35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants