Skip to content
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

Renew minikube certs when expire #19647

Open
masalinas opened this issue Sep 15, 2024 · 5 comments
Open

Renew minikube certs when expire #19647

masalinas opened this issue Sep 15, 2024 · 5 comments
Labels
ev/certificate-errors failed due to certificate issues kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@masalinas
Copy link

masalinas commented Sep 15, 2024

What Happened?

I deployed minikube one year ago, and now my certs expired, so I can't start minikube again. How Can I renew my certs to continue using my minikube cluster?

Attach the log file

I lost my logs because

Operating System

Ubuntu

Driver

Docker

@masalinas masalinas changed the title Reniew minkube certs Renew minikube certs Sep 15, 2024
@masalinas masalinas changed the title Renew minikube certs Renew minikube certs when expire Sep 15, 2024
@medyagh
Copy link
Member

medyagh commented Sep 17, 2024

Thank you for sharing your experience! If you don't mind, could you provide minikube logs ?
I believe we do have codes that does exactly that and we fixed this a couple years ago,
Please attach (drag) thelogs.txt file to this issue which can be generated by running this command:

$ minikube logs --file=logs.txt

This will help us isolate the problem further. Thank you!

/triage needs-information
/kind support

@k8s-ci-robot k8s-ci-robot added triage/needs-information Indicates an issue needs more information in order to work on it. kind/support Categorizes issue or PR as a support question. labels Sep 17, 2024
@medyagh
Copy link
Member

medyagh commented Sep 18, 2024

@masalinas do you know what version of minikube u use?
"minikube version"

@medyagh
Copy link
Member

medyagh commented Sep 18, 2024

@masalinas
Copy link
Author

I was investigating the past week abput this problem, and unfortunately I crush my original kubernetes image with a new one. But I would like to know how I can renew this certificates when it happens to me next time.

I discovered that by default now the default years of expiration is three and also you can use this paramater when start your minikube --cert-expiration=26280h0m0s, to configure this expiration, but exist a way to renew these certifcates after been created?, I think this is a recurrent question.

@spowelljr spowelljr added the ev/certificate-errors failed due to certificate issues label Oct 30, 2024
@spowelljr
Copy link
Member

Hi @masalinas, this should be fixed (#16249), could you please tell us the version of minikube you're using, you may be on an outdated version that doesn't have the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ev/certificate-errors failed due to certificate issues kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

4 participants