-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
gcp-auth addon: do not reapply gcp-auth yamls on minikube restart #11486
gcp-auth addon: do not reapply gcp-auth yamls on minikube restart #11486
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets add an entry to the site with example of using refresh and when they would need to do it
in the gcp auth site
done. |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube ingress: 35.4s 42.9s 34.9s 36.9s 34.4s Times for minikube start: 54.6s 58.2s 52.8s 53.9s 52.8s docker driver with docker runtime
Times for minikube start: 23.9s 23.2s 24.0s 23.4s 23.1s Times for minikube ingress: 32.6s 33.1s 33.6s 36.1s 33.6s docker driver with containerd runtime
Times for minikube start: 50.0s 49.0s 47.8s 48.9s 49.4s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good just a few nits...
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, sharifelgamal The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
kvm2 driver with docker runtime
Times for minikube start: 47.1s 51.8s 46.7s 48.0s 49.4s Times for minikube (PR 11486) ingress: 34.7s 32.8s 34.8s 34.3s 35.2s docker driver with docker runtime
Times for minikube start: 22.1s 21.7s 22.7s 21.5s 21.8s Times for minikube ingress: 27.5s 31.0s 29.0s 37.0s 33.0s docker driver with containerd runtime
Times for minikube start: 46.0s 47.1s 47.0s 43.3s 42.7s |
kvm2 driver with docker runtime
Times for minikube start: 49.4s 50.5s 46.4s 48.1s 50.0s Times for minikube ingress: 43.2s 33.8s 34.3s 33.7s 36.3s docker driver with docker runtime
Times for minikube start: 21.9s 21.9s 22.5s 21.8s 21.6s Times for minikube ingress: 34.0s 33.0s 34.0s 33.0s 32.5s docker driver with containerd runtime
Times for minikube (PR 11486) start: 47.6s 47.3s 44.0s 47.8s 43.1s |
Fixes #9465
The source of that race condition is that we occasionally try to reapply certs that already exist and things break. Avoiding applying at all seems to be the safest course of action. Note this will still allow users to refresh their creds if they need to.