minikube icon indicating copy to clipboard operation
minikube copied to clipboard

Remove the deprecated hyperkit driver

Open nirs opened this issue 3 months ago • 5 comments

The hyperkit driver does not support Apple silicon machines introduced in June 2020. There are no plans to add support for Apple silicon and it was replaced by the virtualization framework in the docker project.

Building hyperkit requires the xcgo container with is not maintained for several years, and has many vulnerabilities.

The docker-machine-driver-hyperkit requires root permissions. Currently minikube add the setuid bit to make this driver runnable by root by any user, obtaining user password with sudo. This is insecure and wrong in many ways.

The minikube project does not have enough contributors to support legacy drivers. We want to spend time on making modern drivers better, providing value to most users.

The driver is mark deprecated in minikube 1.37 and we want to remove it in minikube 1.38.

macOS users with intel based machines can use other drivers: vfkit
(preferred), qemu, or docker. macOS user with Apple silicon machine can also use the new krunkit driver (experimental).

Fixes #21601

nirs avatar Sep 20 '25 16:09 nirs

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

k8s-ci-robot avatar Sep 20 '25 16:09 k8s-ci-robot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nirs Once this PR has been reviewed and has the lgtm label, please assign spowelljr for approval. For more information see the Code Review Process.

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Sep 20 '25 16:09 k8s-ci-robot

I dont think there is urgency in removing this driver, we can continue warn and also remove it from being listed or advertised. I actually do have mac device from 2010 and it still running and I do like to run minikube on it once in a while. so I dont think there is an urgency in removing it, since there are still x86 macbooks.

Keeping the driver make it harder to work on minikube. We are slowed down by having to deal with the hacks added to support it.

macOS 26 is the last version supporting intel macs. We don’t have the capacity to support older machine that Apple does not.

nirs avatar Sep 20 '25 18:09 nirs

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-sigs/prow repository.

k8s-ci-robot avatar Oct 01 '25 23:10 k8s-ci-robot

@nirs: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
integration-docker-docker-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-docker-docker-linux-x86-64
integration-none-docker-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-none-docker-linux-x86-64
integration-docker-crio-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-docker-crio-linux-x86-64
integration-kvm-containerd-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-kvm-containerd-linux-x86-64
integration-kvm-crio-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-kvm-crio-linux-x86-64
integration-docker-containerd-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-docker-containerd-linux-x86-64
integration-kvm-docker-linux-x86-64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-kvm-docker-linux-x86-64
integration-docker-docker-linux-arm64 d26a373e3f94b7dfd8d24c739cc8f908c23111c0 link true /test integration-docker-docker-linux-arm64

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.

k8s-ci-robot avatar Dec 03 '25 00:12 k8s-ci-robot