-
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
Critical errors when apiserver.ServiceClusterIPRange has been modified #1747
Comments
Well after a little digging, I found out that this is hardcoded in a few places. First being the DNS addon service: https://github.com/kubernetes/minikube/blob/master/deploy/addons/kube-dns/kube-dns-svc.yaml#L27 In getAllIPs, which gets all the IPs to add to the generated cert minikube/pkg/localkube/localkube.go Line 183 in 09e8cce
We actually have the DNS-ip it as a flag in localkube, which is silently ignored minikube/cmd/localkube/cmd/options.go Line 36 in 1c06d18
The only tricky part I think is picking a cluster ip for the DNS service if you only pass in a Just curious, what is your use case for setting this? |
We are trying to migrate existing services to GKE. But some of them are accessible only through OpenVPN. But since it is not possible to modify the hosts file on the workstations, we use the 3 predefined IP addresses, which have already been bookmarked by users in their web browser. And we hope that these IP addresses are identical Minikube and GKE. Thanks for your help. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG
Minikube version (use
minikube version
): v0.20.0Environment:
cat ~/.minikube/machines/minikube/config.json | grep DriverName
): "virtualbox"cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): v0.20.0What happened:
What you expected to happen:
Minikube starts successfully when apiserver.ServiceClusterIPRange option has been modified.
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know:
No
The text was updated successfully, but these errors were encountered: