Skip to content
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

Use mac as identifier for dhcp #3572

Merged
merged 1 commit into from
Jan 24, 2019
Merged

Use mac as identifier for dhcp #3572

merged 1 commit into from
Jan 24, 2019

Conversation

leifcr
Copy link
Contributor

@leifcr leifcr commented Jan 23, 2019

This solves #951

@k8s-ci-robot
Copy link
Contributor

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.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 23, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: leifcr
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: jimmidyson

If they are not already assigned, you can assign the PR to them by writing /assign @jimmidyson in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@leifcr
Copy link
Contributor Author

leifcr commented Jan 23, 2019

cla signed.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jan 23, 2019
@tstromberg
Copy link
Contributor

Looks great. Since we don't yet have an integration test for running multiple simultaneous profiles (#3576), do you mind testing that this PR doesn't break this workflow:

minikube start -p test1
minikube start -p test2
minikube ssh -p test1 hostname # assert that it says test1
minikube ssh -p test2 hostname # assert that it says test2
minikube delete -p test1
minikube delete -p test2

I assume it doesn't, but I just want to make sure of it before merging. Thank you!

@tstromberg
Copy link
Contributor

@minikube-bot OK to test

@leifcr
Copy link
Contributor Author

leifcr commented Jan 23, 2019

Console output:

$ minikube start -p test1 --iso-url file:///home/l/code/kube/minikube/minikube.iso
Starting local Kubernetes v1.13.2 cluster...
.... snipped
Everything looks great. Please enjoy minikube!

$ minikube start -p test2 --iso-url file:///home/l/code/kube/minikube/minikube.iso
Starting local Kubernetes v1.13.2 cluster...
.... snipped
Everything looks great. Please enjoy minikube!

$ minikube ssh -p test1 hostname
test1

$ minikube ssh -p test2 hostname
test2

$ minikube ip -p test1
192.168.99.100

$ minikube ip -p test2
192.168.99.101

$ minikube stop -p test1
Stopping local Kubernetes cluster...
Machine stopped.

$ minikube stop -p test2
Stopping local Kubernetes cluster...
Machine stopped.

$ minikube start -p test1
Starting local Kubernetes v1.13.2 cluster...
....

$ minikube start -p test2
Starting local Kubernetes v1.13.2 cluster...
.... 

$ minikube ip -p test1
192.168.99.100

$ minikube ip -p test2
192.168.99.101

$ minikube delete -p test1
Deleting local Kubernetes cluster...
Machine deleted.

$ minikube delete -p test2
Deleting local Kubernetes cluster...
Machine deleted.

@leifcr
Copy link
Contributor Author

leifcr commented Jan 24, 2019

The is is uploaded here if needed for further testing: https://github.com/leifcr/minikube/releases/download/v0.33.1-iso-only/minikube-0.33.1-mac_fix.iso

@tstromberg
Copy link
Contributor

Excellent. Thank you for the patch, and thank you for making minikube better!

@tstromberg tstromberg merged commit 1faf11e into kubernetes:master Jan 24, 2019
@leifcr
Copy link
Contributor Author

leifcr commented Jan 25, 2019

Thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants