-
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
Cannot change apiserver-ips after initial minikube start #9818
Comments
@dimara thanks for creating this issue, that might be a bug that we missed in that PR ! I would accept a PR that fixes this. btw I am curious, what are the real-world reasons that one would want to specify the api server's IPs ? |
@medyagh I am currently testing a patch and will submit a PR ASAP. Regarding the real-world reasons for such a feature, we (Arrikto) already use it in MiniKF to access K8s remotely via its public IP over HTTPS. Since the IP is ephemeral and might change we need to be able to update the certs accordingly. |
After commit bee6815, we could not change the apiserver-ips after initial `minikube start`. Revert to previous behavior where both apiserver-ips and apiserver-names were taken always into account and certs were updated accordingly. Closes kubernetes#9818. Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
After commit bee6815, we could not change the apiserver-ips after initial `minikube start`. Revert to previous behavior where both apiserver-ips and apiserver-names were taken always into account and certs were updated accordingly. Closes kubernetes#9818. Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
Just waiting for a CLA to be signed so this bug can be fixed. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
After commit bee6815, we could not change the apiserver-ips after initial `minikube start`. Revert to previous behavior where both apiserver-ips and apiserver-names were taken always into account and certs were updated accordingly. Closes kubernetes#9818. Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
…#9818) After commit bee6815, we could not change the apiserver-ips after initial `minikube start`. Revert to previous behavior where both apiserver-ips and apiserver-names were taken always into account and certs were updated accordingly. Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
After commit bee6815, we could not change the apiserver-ips after initial `minikube start`. Revert to previous behavior where both apiserver-ips and apiserver-names were taken always into account and certs were updated accordingly. Fixes kubernetes#9818
After commit bee6815, we could not change the apiserver-ips after initial `minikube start`. Revert to previous behavior where both apiserver-ips and apiserver-names were taken always into account and certs were updated accordingly. Fixes kubernetes#9818
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Steps to reproduce the issue:
minikube start --vm-driver=none --apiserver-ips=1.1.1.1 ...
minikube stop
minikube start --vm-driver=none --apiserver-ips=2.2.2.2 ...
The apiserver certificate has still the initial address in its SAN:
It seems the behavior changed in v1.10 with bee681559b#diff-0e864ab4025634664724909a47c34fbcae246ad52307eaaaa58153f0b256a8b4L345.
While it is possible to modify
apiserver-names
(that had also issues but fixed recently with #9385) I cannot changeapiserver-ips
.What was the rationale behind this change? Is this by design? Is there any way to work around this regression?
Maybe related to #6024.
The text was updated successfully, but these errors were encountered: