Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding nodes to a Windows Minikube Kubernetes Installation - How?

Tags:

I have MiniKube running on my Windows 10 machine. I would like to add an additional node to the cluster.

  1. I have a Centos VM running on a different host that has k8s installed. How to I get the kubectrl join command to run on the VM from the master node running on my Windows machine?
  2. Do I need to install an overlay network on the MiniKube VM? Or is one already installed?
like image 453
TheEdge Avatar asked Aug 13 '18 11:08

TheEdge


People also ask

Can we add nodes in minikube?

minikube node addAdds a node to the given cluster.

Can minikube have multiple nodes?

A Kubernetes cluster can be deployed on either physical or virtual machines. To get started with Kubernetes development, you can use Minikube. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node.


1 Answers

Minikube is officially single-node at the moment. There's a discussion about this limitation at https://github.com/kubernetes/minikube/issues/94 But it seems people have found ways to do it with VirtualBox and there are other ways to run a multi-node cluster locally. Otherwise I'd suggest creating a cluster with one of the cloud providers (e.g. GKE).

like image 115
Ryan Dawson Avatar answered Oct 11 '22 06:10

Ryan Dawson