Git Product home page Git Product logo

Comments (9)

spowelljr avatar spowelljr commented on September 21, 2024 2

I created a quick 10 minute implementation: #18906

from minikube.

nnzv avatar nnzv commented on September 21, 2024 1

Looking forward to seeing this feature in the next release.

from minikube.

spowelljr avatar spowelljr commented on September 21, 2024

Hi @Dala0, currently those fields are not configurable in minikube, they are automatically chosen depending on the architecture of the machine. However allowing those field to be configurable on start using flags would be a good feature addition.

from minikube.

Dala0 avatar Dala0 commented on September 21, 2024

Wow, that was quick! Thank you.

@spowelljr

from minikube.

afbjorklund avatar afbjorklund commented on September 21, 2024

It would be useful to access flags such as 'qemu-program', 'qemu-machine', and 'qemu-cpu'. I have been unable to work out how to do this from 'minikube start'.

The flags are only available in docker-machine, minikube hardcodes all config in the driver "registry" - no plugins

I am trying to get Minikube to start up a QEMU based x86 emulator on an ARM CPU under macOS.

This is not something that is supported in minikube, since it is too slow to run Kubernetes under emulation

from minikube.

afbjorklund avatar afbjorklund commented on September 21, 2024

Using the docker driver and qemu-user is faster:

But hopefully there will "soon" be a new tutorial:

from minikube.

medyagh avatar medyagh commented on September 21, 2024

It would be useful to access flags such as 'qemu-program', 'qemu-machine', and 'qemu-cpu'. I have been unable to work out how to do this from 'minikube start'.

The flags are only available in docker-machine, minikube hardcodes all config in the driver "registry" - no plugins

I am trying to get Minikube to start up a QEMU based x86 emulator on an ARM CPU under macOS.

This is not something that is supported in minikube, since it is too slow to run Kubernetes under emulation

@afbjorklund does that mean we need to modify the minikube-machine org code?

from minikube.

afbjorklund avatar afbjorklund commented on September 21, 2024

does that mean we need to modify the minikube-machine org code?

Not really, minikube has its own fork of all the drivers (e.g. "qemu2")

So there are different ways of setting the Config, whether Flags or not

https://github.com/minikube-machine/machine/blob/main/drivers/qemu/qemu.go#L199

https://github.com/kubernetes/minikube/blob/master/pkg/minikube/registry/drvs/qemu2/qemu2.go#L117

from minikube.

spowelljr avatar spowelljr commented on September 21, 2024

@Dala0 @nnzv Sorry, just getting back to this now, you can test this out by downloading the following binary, let me know if it works for you.

https://storage.googleapis.com/minikube-builds/18906/minikube-darwin-arm64

from minikube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.