-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Support multiple separate minikubes #370
Comments
Yeah I'd prefer if we could keep "minikube start" with no arguments working, unlike the current docker-machine CLI where name is required on all commands. We'd need to add name to most of our commands though: minikube start --name=DEFAULT
minikube stop --name=DEFAULT
minikube delete --name=DEFAULT
minikube status --name=DEFAULT
minikube ssh --name=DEFAULT
minikube service --name=DEFAULT
minikube dashboard --name=DEFAULT
minikube ip --name=DEFAULT
minikube logs --name=DEFAULT This would also make our config work tricker, because most settings would need to be namespaced to a named instance. Toggling the kubectl configs might also be tricky to get right. |
Nice Idea.How about introducing a new command for this feature ? We could setup a name such as (multiple/spread) to indicate that this command will actually setup multiple separate minikubes on different nodes.Let's just say 3 for starting ? We could use different namespaces for each of them.By default minikube CLI can be used to control on the DEFAULT namespace but in case the user wants to use over different namespace he can use the flags. |
I'm interested in this feature too. I'm working on scripts to automate the upgrade process of our k8s cluster itself (which would also include creating our k8s deployments, services, etc. on the new k8s cluster). If minikube supported multiple VMs... I would be able to write/test these scripts all locally rather than relying on a full k8s cluster deployed somewhere. I could have two minikube I tried cloning the |
It would be possible to run multiple kube instances on a single minikube vm with docker-in-docker. Heck, we could use the initial minikube instance as the host and deploy subsequent clusters on kubernetes itself. I have prototyped this for openshift, and the hardest part was getting the initial cluster up which minikube and 'oc cluster up' have effectively solved. |
Closing as a dup of #886. Normally I'd go the other way, but that one has a nice writeup by @jorgemoralespou about how to possibly implement this. |
Thinking that
minikube start
could take an argument for a name (defaulting todefault
) so you could run separate minikubes on the same box. This would be especially useful for demo purposes where you may have set up independent environments to demo different things & to reduce resource usage when you're working on a particular task.The text was updated successfully, but these errors were encountered: