Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.41 KB

minikube-multinode.adoc

File metadata and controls

51 lines (40 loc) · 1.41 KB

If you are running this tutorial in Minikube, you need to add more nodes to run this part of the tutorial. Check the number of nodes you have delpoyed by running:

kubectl get nodes

If only one node is present then you need to create a new node by following the next steps:

NAME       STATUS   ROLES    AGE     VERSION
kube       Ready    master   54m     v1.17.3

Having minikube installed and in your PATH, then run:

minikube node add -p {profile}

Or if you do not have enough resources to add a new node with same resources as master node, you can create a new cluster with minial requirements.

minikube start --nodes 2 -p multinode --kubernetes-version='{kubernetes-version}' --vm-driver='virtualbox' --memory=2048
kubectl get nodes
NAME       STATUS   ROLES    AGE     VERSION
kube       Ready    master   54m     v1.17.3
kube-m02   Ready    <none>   2m50s   v1.17.3
Important
Multi-node clusters are currently experimental and might exhibit unintended behavior.