-
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
WIP: Rename None driver to Native and replace all references #10579
Conversation
Hi @sadlil. 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: sadlil 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? |
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.
can u plz verify, starting a cluster with minikube 1.17.1
minkube start --driver=none
and then stop it
and then start the same cluster with your PR
and ensure it still backward campatible ?
pkg/minikube/driver/driver.go
Outdated
@@ -142,15 +142,15 @@ func IsMock(name string) bool { | |||
|
|||
// IsVM checks if the driver is a VM | |||
func IsVM(name string) bool { | |||
if IsKIC(name) || BareMetal(name) { | |||
if IsKIC(name) || IsNative(name) { |
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 should have stayed BareMetal (because it includes Mokc)
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.
all instances of Baremetal should stay same since they include Mock
pkg/minikube/machine/client.go
Outdated
@@ -156,7 +156,7 @@ func CommandRunner(h *host.Host) (command.Runner, error) { | |||
if h.DriverName == driver.Mock { | |||
return &command.FakeCommandRunner{}, nil | |||
} | |||
if driver.BareMetal(h.Driver.DriverName()) { | |||
if driver.IsNative(h.Driver.DriverName()) { |
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.
all instances of Baremetal should stay same since they include Mock
pkg/minikube/machine/client.go
Outdated
@@ -220,7 +220,7 @@ func (api *LocalClient) Create(h *host.Host) error { | |||
{ | |||
"waiting", | |||
func() error { | |||
if driver.BareMetal(h.Driver.DriverName()) { | |||
if driver.IsNative(h.Driver.DriverName()) { |
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.
all instances of Baremetal should stay same since they include Mock
pkg/minikube/machine/client.go
Outdated
@@ -230,7 +230,7 @@ func (api *LocalClient) Create(h *host.Host) error { | |||
"provisioning", | |||
func() error { | |||
// Skippable because we don't reconfigure Docker? | |||
if driver.BareMetal(h.Driver.DriverName()) { | |||
if driver.IsNative(h.Driver.DriverName()) { |
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.
same here
pkg/minikube/machine/fix.go
Outdated
// Avoid reprovisioning "none" driver because provision.Detect requires SSH | ||
if !driver.BareMetal(h.Driver.DriverName()) { | ||
// Avoid reprovisioning "native" driver because provision.Detect requires SSH | ||
if !driver.IsNative(h.Driver.DriverName()) { |
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.
same here
a0b8248
to
b6dcdd7
Compare
b6dcdd7
to
0019efd
Compare
@sadlil: 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. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Hi @sadlil, I'm gonna close this PR since it's been stuck for a while. If you'd like to bring it back, feel free to reopen! |
Fixes: #7772