-
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
Remove deprecated drivers: kvm-old and xhyve #4781
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tstromberg 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 |
It looks like some of the kvm files are used by kvm2. =) |
docs/cli_commands.md
Outdated
@@ -247,7 +247,7 @@ minikube service [command] | |||
|
|||
--- | |||
### start | |||
**Description -** Starts a local kubernetes cluster using VM. This command assumes you have already installed one of the VM drivers: **virtualbox/parallels/vmwarefusion/kvm/xhyve/hyperv**. | |||
**Description -** Starts a local kubernetes cluster using VM. This command assumes you have already installed one of the VM drivers: **virtualbox/parallels/vmwarefusion/kvm/hyperv**. |
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.
kvm2 ?
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.
Removed.
cmd/minikube/cmd/start.go
Outdated
@@ -175,7 +173,7 @@ var startCmd = &cobra.Command{ | |||
Use: "start", | |||
Short: "Starts a local kubernetes cluster", | |||
Long: `Starts a local kubernetes cluster using VM. This command | |||
assumes you have already installed one of the VM drivers: virtualbox/parallels/vmwarefusion/kvm/xhyve/hyperv.`, | |||
assumes you have already installed one of the VM drivers: virtualbox/parallels/vmwarefusion/kvm/hyperv.`, |
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.
kvm2 ?
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.
Maybe something like: fmt.Sprintf("....%v", constants.SupportedVMDrivers))
. Then once the PR #4738 is merged, it would list the correct drivers for each platform.
wdyt?
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.
I didn't find the long help here particularly useful, so I removed it.
The instructions seem a little confused (outdated?). AFAIK, both the virtualbox and hyperv drivers are bundled with libmachine (compiled in), need no driver But we still say "kvm" (as in upstream's) rather than our own kvm2, and fail to mention "hyperkit" at all ? This only goes for the one-liner at the top of |
Something to include in 1.3.0, perhaps ? |
Thank you for the feedback. Please take another look! |
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!
Q: Why do we need to embed assets and translations into the driver ? Seems that we are leaking files into the lower level abstractions here, I thought the docker-machine drivers were separate entities ?
Good call. I'll revert that change and open a separate issue about the failure I noticed. |
@minikube-bot OK to test |
These drivers are no longer maintained have been deprecated for as long as I've contributed to the minikube project.
This closes #4660 #4436 #4291 #3726