-
Notifications
You must be signed in to change notification settings - Fork 5.1k
vmware: Add new flag to specify network type through --vmware-network-type
#11517
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
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Welcome @zarenner! |
Hi @zarenner. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Can one of the admins verify this patch? |
Hmm I have signed the CLA... investigating. edit: and suddenly seems to be fixed |
@zarenner do u mind posting an example of this new flag output in the PR description ? |
@medyagh Added a screenshot to the description for the example there, and added a docs change. Thanks for the quick feedback! |
--vmware-network-type
@zarenner please take a look at the unit test
|
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube ingress: 35.7s 34.8s 35.7s 35.3s 34.8s Times for minikube start: 51.8s 46.8s 51.0s 47.6s 47.5s docker driver with docker runtime
Times for minikube start: 23.0s 22.5s 22.3s 22.0s 21.0s Times for minikube ingress: 33.0s 37.0s 33.5s 32.0s 33.5s docker driver with containerd runtime
Times for minikube start: 30.6s 47.7s 43.1s 43.2s 44.4s |
@@ -118,6 +118,7 @@ const ( | |||
defaultSSHUser = "root" | |||
defaultSSHPort = 22 | |||
listenAddress = "listen-address" | |||
vmwareNetworkType = "vmware-network-type" |
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.
@zarenner sorry for the changing in my opinion, but how about we called this flag "network-type"
and then then specify this is only currently used for for vmwware and then if user specificed a value for this flag for non-vmware drivers, we should Exit with Exit With Usage
exit.Message(reason.Usage, "network-type flag is currently only supported only by the vm-ware driver "
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zarenner The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@zarenner: PR needs rebase. 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. |
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 |
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 |
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. /close |
@k8s-triage-robot: Closed this PR. 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. |
Following machine-drivers/docker-machine-driver-vmware#34, adds support for specifying the VMWare network connection type (e.g.
nat
vsbridged
)usage text:
Running e.g.

minikube start --driver=vmware --vmware-network-type=hostonly
results in a.vmx
withethernet0.connectionType = "hostonly"