What’s the best way to run a small multi-node Kubernetes cluster on one laptop?

August 18, 2026 3 answers
Asked by HEXAGON HOUR
I want to set up a simple Kubernetes or K3s environment to learn how clusters work and practice using them. I'm traveling with only one Fedora laptop and some external storage, but the laptop has enough CPU cores and resources to run several lightweight nodes at once. Should I create multiple virtual machines to act as Kubernetes nodes, or is there a simpler approach for simulating a multi-node cluster on one computer?

Answers

lute player
Unless you have a specific reason to test VM-level behavior, a single-node setup is enough for learning the Kubernetes basics. On Linux, you could use Minikube or install K3s directly; Minikube can also run with a VM driver if you want to experiment with virtualization. Make sure the kubectl command-line tool is installed before creating the cluster.

HEXAGON HOUR: I mainly wanted to imitate a more realistic multi-node environment with the hardware I currently have, even if it’s only a rough approximation.

Reply to this answer
~no receipts
Minikube is a beginner-friendly choice. Install it along with kubectl, then select a supported driver such as VirtualBox when starting the cluster. It gives you a straightforward local Kubernetes node without requiring you to build and manage several separate VMs.
Reply to this answer
7 comic panels
For this use case, I’d start with KinD (Kubernetes in Docker). It can create a multi-node cluster with a single command, while each node runs in a container instead of a full virtual machine. That makes it much lighter on laptop resources and avoids a lot of VM networking and storage setup. K3d is another good option if you specifically want to learn with K3s.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions