Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove the deprecated hyperkit driver #21603

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

Draft
nirs wants to merge 1 commit into kubernetes:master
base: master
Choose a base branch
Loading
from nirs:remove-hyperkit

Conversation

Copy link
Contributor

@nirs nirs commented Sep 20, 2025
edited
Loading

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

afbjorklund reacted with thumbs up emoji
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 20, 2025
Copy link
Contributor

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 k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 20, 2025
Copy link
Contributor

[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 k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Sep 20, 2025
@nirs nirs changed the title (削除) Remove the deprecated hyerkit driver (削除ここまで) (追記) Remove the deprecated hyperkit driver (追記ここまで) Sep 20, 2025
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).
Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

nirs commented Sep 20, 2025

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.

Copy link
Contributor

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 k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@medyagh medyagh medyagh requested changes

@ComradeProgrammer ComradeProgrammer Awaiting requested review from ComradeProgrammer

@prezha prezha Awaiting requested review from prezha

Assignees

No one assigned

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Remove the hyperkit driver

AltStyle によって変換されたページ (->オリジナル) /