-
Notifications
You must be signed in to change notification settings - Fork 701
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
kubeadm alpha certs renew all
should give a msg tell user to restart components
#2308
Comments
this is debatable, i think we should only renew certs if the upgrade happened.
this seems like a good idea, but we should adjust the message here:
this section of the docs should also include a note that component restart is required. |
if we only renew certs, It will be dangerous if the user don't know to restart |
/assign @zgfh |
i'd prefer if we don't renew certificates if component upgrade was skipped, because the primary purpose of the upgrade command is to upgrade. the separate utility to renew on demand is exposed for a reason. i think kubernetes/kubernetes#95134 is all we can do here for now and that PR is LGTM/approved. thanks! |
@neolit123: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What keywords did you search in kubeadm issues before filing this one?
#1540
#2186
#2185
Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Versions
kubeadm version (use
kubeadm version
):1.19.2
Environment:
kubectl version
): 1.19.2uname -a
):What happened?
What you expected to happen?
after run
kubeadm alpha certs renew all
,user need restart all components to make cert workwe should tell user what need to do ,like:
I also find when I upgrade same version with
kubeadm upgrade apply v1.19.2 --certificate-renewal=true
it skip renew certs, I think it will be better if we change to update certs and restart related pods
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
The text was updated successfully, but these errors were encountered: