kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.14k stars 4.86k forks source link

Add qemu-user-static to qemu specific iso images #14444

Closed arixmkii closed 1 year ago

arixmkii commented 2 years ago

What Happened?

Quick start example https://minikube.sigs.k8s.io/docs/start/ (starting from step 4 deploy applications) fails on MacOS on M1 macs, because echoserver is amd64 only.

May be it is worth to provide this option to allow to run foreign architecture images using this new driver.

Attach the log file

Echoserver in constant crashloop because it can't start amd64 application on aarch64 OS.

Operating System

macOS (Default)

Driver

Qemu2

arixmkii commented 2 years ago

Inspired by this https://edofic.com/posts/2021-09-12-podman-m1-amd64/

I'm not sure if default docker runtime is capable of doing the same. If not, then quick start documentation should be updated.

afbjorklund commented 2 years ago

There are two issues here.

One is that echoserver uses an ancient nginx, and should be updated (including multi-arch support)


The other is to add the qemu-user binaries (for amd64 and arm64) to the iso build, for running other images cross-architecture

Possibly a new package need to be created, since the existing "qemu" package is dynamically linked and might not work ?

Note that it is not specific to the qemu(-system) driver

k8s-triage-robot commented 1 year ago

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

k8s-triage-robot commented 1 year ago

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

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 1 year ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes/minikube/issues/14444#issuecomment-1364738048): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.