-
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
Add HostIP implementation for parallels driver #8259
Conversation
Parallels Desktop works only on macOS (Darwin)
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 @legal90! |
Hi @legal90. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: legal90 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 |
Can one of the admins verify this patch? |
Travis tests have failedHey @legal90, 1st Buildmake test
2nd Buildmake test
3rd Buildmake
TravisBuddy Request Identifier: 0b6d30f0-9d19-11ea-8472-279b0b07e116 |
Codecov Report
@@ Coverage Diff @@
## master #8259 +/- ##
==========================================
- Coverage 34.46% 34.40% -0.06%
==========================================
Files 147 147
Lines 9428 9444 +16
==========================================
Hits 3249 3249
- Misses 5780 5796 +16
Partials 399 399
|
It seems that these CI check failures are not related to this PR
|
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.
this looks like a good PR ! just minor changes needed, can you also put the output before/after this PR?
Rename "cmd*" var to "bin*" in the parallels-specific block
Thank you, @medyagh! I added the output before/after this PR to the top message and also renamed the variable, as you asked. |
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.
looks good to me, thank you very much for fixing this !
/ok-to-test |
kvm2 Driver Times for Minikube (PR 8259): [64.501283271 62.56648873 62.328824960000006] Averages Time Per Log
docker Driver Times for Minikube (PR 8259): [27.714082698000002 27.046909114999995 27.339831469] Averages Time Per Log
|
Fixes Parallels/docker-machine-parallels#90
Fixes #4862
This PR does the following:
HostIP
function, which actually fixes the entire compatibility of minikube with this driver.Tested on macOS 10.15.4 with
docker-machine-driver-parallels
v1.4.0 and Parallels Desktop for Mac 15.1.4.Before this PR
After this PR
Implementation details
Just for the reviewer's information:
The function is supposed to run the command
prlsrvctl net info Shared
. Here is the full output example:Here we just parse this output to get the value of
IPv4 address
field, which is10.211.55.2
. The VM created by parallels driver is connected to the same virtual network and can access the host using this IP.