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
[Epic] User can run crc on Apple silicon (M1/M2) #2480
Comments
Any update on this? |
crc currently uses hyperkit as the hypervisor. This is not possible anymore with M1. The easiest thing to do is to use qemu. First step is to adapt https://github.com/code-ready/machine-driver-hyperkit/ for qemu. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I would also like to bump this issue back up. Trying to bring my whole company onto Openshift but we're now an M1 shop cause we do iOS. This would be HUGE. |
We are currently working on a new driver for the Virtualization Framework that is part of Catalina and Big Sur. Note: OpenShift on ARM is only available as a dev preview: https://github.com/openshift/ocp-on-arm |
Support to generate SNC bundles has been merged; crc-org/snc#454, though as mentioned in crc-org/snc#454 (comment) more work is needed in regards to the driver. |
I made some progress on issue #1850, I can run crc using virtualization.framework for the VM. However, this is currently only working on x86_64, I haven't been able yet to start a VM on a M1 machine :-/ |
The time-line is to offer
|
I created the fcos bundle on |
A dev preview for M1 is available: #2988 Things might or might not work, so be sure to add. Comm ets to the discussion. Especially the UI is still changing... And this is Podman only for now. |
Same as raisingdibar, I'm developing an application for the Dutch government and just bought a new Macbook m1 max to develop this on. Is there any time indication for when the M1 Openshift release for CRC is expected? At this moment, I am walking around with a separate Linux laptop just to run the cluster on..... |
Unfortunately this is not as straightforward as we'd like, as there are low-level incompatibilities between RHEL and the M1 Hardware Virtualization, see https://access.redhat.com/solutions/6545411 or https://access.redhat.com/discussions/5966451
|
But it looks like RHEL 9 is running on M1's. Is this going to solve the problem? |
Yes, this should help, but this means OpenShift on RHEL9 is required before we can ship OpenShift on M1 |
Is there an update on this please? |
The PR to switch from hyperkit to virtualization framework on x86_64 macs is opened at #3035 and hopefully will get merged for the next release. Once this is in, a few more commits are needed for m1 support in crc https://github.com/cfergeau/crc/commits/macos-vf and a few additional changes in our bundle generation code crc-org/snc#503 This will initially only support running podman containers, and not openshift clusters. |
@cfergeau so, when do you think support for openshift clusters will be available? |
This still depends on #2480 (comment) , I'm not sure what the anticipated schedule is for this. |
I understand the complexity but I confess that this incompatibility has a very negative effect on developers. Especially those who got the M1 to gain more productivity. In the absence of a local container, I recommend using Openshift Sandbox https://developers.redhat.com/developer-sandbox/get-started. However for local tests we have minikube or other kubernetes distributions that already support mac m1. |
At the moment we are offering a Podman VM that will be used to run Microshift on M1. This has already been tested but not released yet. Ultimately OCP should be able to run when the RHCOS image is based on RHEL9. At the moment we are waiting for this. |
Missing:
|
Please close this one and create a follow-up with the new targets and schedule. /cc: @code-ready/crc-team @praveenkumar |
|
@gbraad here:
Our first target is to enable this for the Podman bundle.
Support to generate SNC bundles has been merged; crc-org/snc#454, though as mentioned in crc-org/snc#454 (comment) more work is needed in regards to the driver.
Currently, crc is not running on Apple M1. The goal is to fully support this platform, like Apple and amd64 arch.Opened a new epic to track the work related to OpenShift
The text was updated successfully, but these errors were encountered: