-
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
Create Hyper-V External Switch #6264
Conversation
Signed-off-by: Zhongcheng Lao <[email protected]>
Signed-off-by: Zhongcheng Lao <[email protected]>
Signed-off-by: Zhongcheng Lao <[email protected]>
Signed-off-by: Zhongcheng Lao <[email protected]>
Signed-off-by: Zhongcheng Lao <[email protected]>
Hi @laozc. 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? |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: laozc 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 |
Codecov Report
@@ Coverage Diff @@
## master #6264 +/- ##
=========================================
+ Coverage 37.97% 38.1% +0.12%
=========================================
Files 138 137 -1
Lines 8714 8690 -24
=========================================
+ Hits 3309 3311 +2
+ Misses 4987 4963 -24
+ Partials 418 416 -2
|
@laozc I am curious why the formatting changed so much ? we run goimports -w on all the code...it should be same ... |
/ok-to-test |
All Times minikube: [ 122.082626 121.300649 126.761437] Average minikube: 123.381571 Averages Time Per Log
|
Do you mean the formatting in |
Error: running mkcmp: exit status 1 |
Error: running mkcmp: exit status 1 |
1 similar comment
Error: running mkcmp: exit status 1 |
All Times minikube: [ 116.244172 112.958288 114.386224] Average minikube: 114.529561 Averages Time Per Log
|
All Times Minikube (PR 6264): [ 229.077501 246.523218 231.590488] Average minikube: 94.793739 Averages Time Per Log
|
@laozc thanks for resolving the code reviews, letss resolve the conflicts and I think we could merge this ! |
Merge conflict, but otherwise seems to be ready! |
All Times minikube: [ 99.851257 95.978568 94.742635] Average minikube: 96.857486 Averages Time Per Log
|
/ok-to-test |
@laozc thank you for your patience and thank you for resolving the conflict a few times, I promise this be the last time and your PR will get a high priority to be merged. thank you again |
All Times minikube: [ 93.260324 93.643328 93.578822] Average minikube: 93.494158 Averages Time Per Log
|
Thank you very much |
This PR tries to find an external switch or create one for Hyper-V driver if the user specifies -hyperv-use-external-switch.
If the adapter is not specified, the driver will first look up LAN adapters before other adapters (WiFi, ...).
Or the user may specify an adapter to attach to the external switch.
Since Windows 10 only allows one external switch for the same adapter, it will find the virtual switch before creating one. The external switch will be created and named as "minikube" if not the case.