Giter VIP home page Giter VIP logo

Comments (8)

luxas avatar luxas commented on May 17, 2024

I'm working on a large refactor of localkube.
It isn't what you're proposing here, but anyway.
What do you think about mounting the flags from all servers?

from minikube.

ethernetdan avatar ethernetdan commented on May 17, 2024

What do you mean by "mounting flags"?

from minikube.

luxas avatar luxas commented on May 17, 2024

I mean mounting commonly used flags like --service-cluster-ip-range, which will in turn be passed to the apiserver. If there would be a way to automatically mount all flags with a server prefix, it would be great. I. e. --service-cluster-ip-range for apiserver automatically becomes --apiserver-service-cluster-ip-range for localkube.

BTW, are you okay with removing the start, stop, status commands to make localkube like the other kubernetes components (flags only)? We would get rid of so much unnecessary complexity, and it would be easier to understand. I'm not understanding either how one is supposed to run status on a binary that's running as a daemon w/ start, but that's just me.

So I would propose to have a flag --servers where the user may specify which servers localkube should start, instead of starting multiple localkube servers by hand.

from minikube.

ethernetdan avatar ethernetdan commented on May 17, 2024

I like the idea of allowing parameters for every server by using prefixes. Seems like a very logical way to provide configuration. How do you feel about also providing configuration in files?

The original plan was to have localkube run a server which would allow commands to be sent while it's running (ie. getting status while the binary is running).

The reasoning behind this was to avoid a problem I commonly have with docker-machine where the VM will be running but the daemon is not functioning correctly and typically requires a restart. I wanted to provide a command like tool that could introspect (and act) on it's state. I figured with having so many more components in a single process this problem is even worse but I definitely see your point about complexity.

from minikube.

dlorenc avatar dlorenc commented on May 17, 2024

+1. Although we should probably keep in mind that right now minikube will be the primary user of the localkube binary itself, so we should try to make the default values of all these flags useful to minikube.

from minikube.

Jan-M avatar Jan-M commented on May 17, 2024

👍 for configurability. Having a hard time to figure out how to change --service-node-port-range.

Without this I cannot easily mirror our existing vagrant box - otherwise minikube is great so far.

from minikube.

r2d4 avatar r2d4 commented on May 17, 2024

ref #529

from minikube.

aaron-prindle avatar aaron-prindle commented on May 17, 2024

Fixed with #529. Closing.

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.