-
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
Is it possible to select network interface(eth0, eth1, ens192 etc.) in none driver? #15102
Comments
/kind support |
I would also like to know the answer to this question |
Currently the node IP comes from // GetIP returns an IP or hostname that this host is available at
func (d *Driver) GetIP() (string, error) {
ip, err := knet.ChooseHostInterface()
if err != nil {
return "", err
}
return ip.String(), nil
} https://pkg.go.dev/k8s.io/apimachinery@v0.25.3/pkg/util/net#ChooseHostInterface In the original docker-machine, it was a flag (confusingly called |
Unfortunately, I couldn't find a solution. |
Thank you very much for your reply. I don't think there is a solution for now. Am I right? |
Only workarounds*, as far as I know. All flags are hardcoded in the minikube "registry" So it needs to have a new flag for the |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Anything worth noting? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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 Happened?
I have two network interfaces on my computer. Their names are
eth0
andeth1
.eth0
network interface is selected automatically when I start minikube with the following command: (I prefernone
driver for some special reasons.)I want to select
eth1
network interface(192.168.29.50
). Is this possible?Attach the log file
N/A
Operating System
Ubuntu
Driver
--driver=none
The text was updated successfully, but these errors were encountered: