-
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
Known QEMU2 Driver Issues #14146
Comments
Networking currently for "user" (slirp) only. Proper networking on Mac is possible, by using the VDE and Socket drivers from Lima. But not implemented in driver yet - should be easy to do, though The default network should still be supported (through ssh tunneling, like docker driver) but when using these networks the machine will get an IP and direct access from the host is possible. |
The current tunneling of the docker port is kinda gross, but it was blocked on upstream not allowing any changes... i.e. the docker port was hardcoded to 2376, so currently it does some kind of bait-and-switch on the URL instead Now when the driver is forked, should remove that workaround - and add the tunneling of the minikube 8443 port. |
Naming: once the dust settles, the "qemu2" driver should be aliased as the "qemu" driver - similar to how the "kvm2" driver eventually overtook the original "kvm" driver. The forks are more an historical fact, and machine upstream is now dead.
Note: the "qemu" and "kvm" drivers are for |
The QEMU2 driver is supposed to work on all three platforms, with hardware acceleration, but it needs more testing. anders@ubuntu:~$ uname
Linux
anders@ubuntu:~$ arch
x86_64
anders@ubuntu:~$ qemu-system-x86_64 -accel help
Accelerators supported in QEMU binary:
tcg
kvm
anders@ubuntu:~$ qemu-system-aarch64 -accel help
Accelerators supported in QEMU binary:
tcg The above output means that amd64 is accelerated, but that arm64 is emulated (through "TCG", similar to Rosetta). |
@sharifelgamal : issue with workaround for lots of memory: #14273 Should be possible to remove the workaround, on recent macOS |
I'm just familiarizing myself with the Minikube code base and would like to focus on one of the items in this issue (ARM supported registry). Apologies up front if this has been answered but are there any reasons why we can't use this registry image given its support for various CPU architectures? |
So we do use the mutliarch registry dockerhub image for the registry addon. This issue is the OTHER image we use for the addon, namely |
Thanks, @sharifelgamal. Let me dig into it and report back with a way forward. On the surface, it appears to be a registry proxy. Think of it as a reactive cache load pattern for container images. Anyway, I'll come back with my findings. UPDATED: Yeah, the kube-registry-proxy hasn't been updated since March 2020. |
Actually it hasn't been updated in 5 years. (it is abandoned)
|
Thanks @afbjorklund. Just getting back from a "deep rabbit hole" of Kubernetes "fun". I will review the above links. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Ping |
@afbjorklund I've had a chance to catch up on the links you referenced regarding the registry proxy. If I understand your preferred direction, it would be to have a registry add-on that supports TLS rather than resurrecting the previous |
Rather than using ttl.sh, I went ahead and published the existing kube registry proxy to docker hub at mprimeaux/kube-registry-proxy. The container image supports the following CPU architectures:
I will work on a GitHub actions pipeline to build the image and publish to the GHCR and am happy to commit it to the minikube repository as an interim step to a more permanent solution that doesn't involve depending on the I suppose, alternatively, the following command works with the current Minikube release: minikube addons enable registry --images="KubeRegistryProxy=mprimeaux/kube-registry-proxy:latest" |
@mprimeaux what does enabling the registry with this option do? If I do this, what are the steps to use the |
I believe this one can be checked? |
When I run : minikube tunnel I get: ❌ Exiting due to MK_UNIMPLEMENTED: minikube tunnel is not currently implemented with the builtin network on QEMU The same issue with : minikube service --url Does any one have similar issues ? |
Here's another bug to add to the multi-node known issues; works for single node, breaks for multi-node. |
Now that #13639 is (soon to be) merged, we need a place to aggregate all the known issues so we can eventually graduate it from experimental to recommended driver.
minikube service
(implemented with Implement socket_vmnet network (QEMU) #14989)minikube tunnel
(implemented with Implement socket_vmnet network (QEMU) #14989)The text was updated successfully, but these errors were encountered: