-
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
[Question] How to change the default IP address of the minikube docker driver cluster? #12315
Comments
/kind support |
So when we create the minikube guest using the docker driver, we explicitly create the corresponding docker network starting with a hardcoded subnet of 192.168.49.0 and incrementing until we find a free one. There isn't currently a way to pick that subnet, but I wouldn't be opposed to supporting that. |
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 |
as it happens the IPs are conflicting with the IPs from our company network we really would need to make this configurable /remove-lifecycle stale |
I would dearly love to have the ability to chose a different subnet. With the security policy at my work, when connecting to the corporate VPN, we're given a small subnet for things like k8s and docker and without the ability to specify that particular subnet, I can't use minikube with the docker driver at all in its current state. |
I have a similar issue with both my local and corporate vpn networks. |
I've started working on this. /assign |
Hi @presztak @rstaylor @davewongillies @TekTimmy As
BTW, if you have you have issue in #13729, this PR, #13766 may fix it. |
/kind support |
Regarding to the minikube: Proxies and VPNs which describes that the
192.168.49.0/24
: Used by the minikube docker driver’s first cluster. At the moment it seems that conflict with my environment network mist and each node cannot communicate to others.I also have a chance to create new minikube profile which also automatically creates the new docker network, e.g.
192.168.58.0/24
, this newly profile works like a charms as each node is able to communicate with others.How I can ensure is following the Using Multi-Node Clusters to test against each profile. (Refer to my testing at previous closed issue at #11669)
192.168.49.0/24
is failed.192.168.58.0/24
is worked as expected.I'm not sure if there is any chance to change it during starting up the minikube or not. Could you please help to advise?
Steps to reproduce the issue:
Full output of
minikube logs
command:N/A
Full output of failed command:
N/A
The text was updated successfully, but these errors were encountered: