Build your own Multi-node Kubernetes Cluster with Ubuntu(20) on VirtualBox

kishore Sethumadhavan
8 min readJun 27, 2021

Motivation

Typically Minikube is utility that most of the devlopers use when they are learning Kubernetese. Though its a great tool, Minikube runs a single node Kubernetes cluster inside a VM. Ideally Minikube is not suited when you want to learn and execute multi cluster Use Case scenarios . This motivated me to build and configure a multi-cluster Kubernetes cluster in my local VM using Virtual box which I have full control.

Although you can find many tools, websites and practice LABS where you can learn about Kubernetes, having your own cluster makes it so easy and convenient compare to cloud based tools.

In this tutorial I will help you install 2 nodes Kubernetes cluster on your own computer so you don’t have to sign-up for AWS or Azure account, spin up computer servers and make it available when you need it.

Following instructions will work out of the box on latest Mac OS X however similar steps may work on any computer with virtualization software installed.

So let's get started.

What you Need

  • System/Computer( Windows/ Mac/Linux) with minimum 8 GB of RAM, I am using in Mac , but the step is more or less similar for Windows or Linux

--

--