-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Deprecated VirtualBox with warning #21631
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
base: master
Are you sure you want to change the base?
Conversation
Hi @divysinghvi. 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-sigs/prow repository. |
Can one of the admins verify this patch? |
@nirs https://minikube.sigs.k8s.io/docs/drivers/ i was thinking since we say stuff like preferred , experimental on this docs page shouldn't we mention the deprecated one's also this could be useful for people who are new so that then focus on right drivers . |
cmd/minikube/cmd/start.go
Outdated
} | ||
out.WarningT(`Due to changes in macOS 13+ minikube doesn't currently support VirtualBox. You can use alternative drivers such as 'vfkit', 'qemu', or 'docker'. | ||
out.WarningT(`The 'virtualbox' driver is deprecated and will be removed in a future release. | ||
You can use alternative drivers such as 'vfkit', 'qemu', or 'docker'. |
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.
we should list the drivers available Per Platform,
I believe regstiry package might have a func that gives you Available Drviers
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 have done the change this is how it looks now
✨ Using the virtualbox driver based on user configuration
❗ The 'virtualbox' driver is deprecated and will be removed in a future release.
You can use alternative drivers: qemu2, vfkit, krunkit, parallels, docker, podman, ssh.
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.
You can go back and make a similar fix to hyperkit warning (in a new PR), to make them look more similar:
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.
Yes i have to change the hyperkit one in a new pr i was waiting for this one to be confirmed if this looks good i can make the pr for the hyperkit one also thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: divysinghvi, medyagh 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 |
thank you @divysinghvi that looks better, yes you can create a follow up PR to make hyperkit and others do the same I suggest the follow up Pr have a general func called warnDriverDepricated and that can have for loop that goes ever every Depricatred driverd and checks if that matches the selected driver. |
/ok-to-test |
yes that could be really useful in future cause since we have a lot of upcoming deprecated drivers as nirs and abjorklund were discussing like parallals etc actually i did make the hyperkit message change also but it's better to have a common function for this task will make change in that too |
@divysinghvi: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
@medyagh why is integration test failing on this pr any clue?? |
kvm2 driver with docker runtime
Times for minikube (PR 21631) ingress: 15.8s 15.8s 16.3s 15.8s 15.8s Times for minikube start: 45.0s 44.5s 45.7s 45.7s 45.8s docker driver with docker runtime
Times for minikube start: 22.2s 21.5s 20.9s 23.0s 19.9s Times for minikube ingress: 10.6s 15.6s 10.6s 13.6s 12.6s docker driver with containerd runtime
Times for minikube ingress: 24.1s 23.1s 39.1s 23.1s 23.1s Times for minikube (PR 21631) start: 19.9s 20.5s 19.5s 19.5s 20.2s |
Here are the number of top 10 failed tests in each environments with lowest flake rate.
To see the flake rates of all tests by environment, click here. |
https://minikube.sigs.k8s.io/docs/drivers/qemu/ | ||
https://minikube.sigs.k8s.io/docs/drivers/docker/ | ||
`) | ||
You can use alternative drivers: {{.drivers}}.`, out.V{"drivers": strings.Join(driver.SupportedDrivers(), ", ")}) |
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.
Why did you remove this? please keep the links to the docs. This make it very easy to find more info by clicking on the link in the shell, and it is not required for this change.
This PR adds a deprecation warning for the VirtualBox driver, similar to the existing hyperkit deprecation warning. The VirtualBox driver will display a clear warning message to users indicating it will be removed in a future release and suggesting alternative drivers.
Before
Before
After
After suggested change
Fixes #21608