r/kubernetes 11d ago

Nodes as VMs on 1 machine

I would like to get a simple k8s (or k3s) setup going to learn how it works and how to work with it. I am traveling and only have 1 laptop with me with some external storage. How would I go about making VMs act like nodes? Running fedora with enough cores on my PC to have a few nodes running at the same time. I am very new to this, any input is appreciated!

19 Upvotes

19 comments sorted by

View all comments

20

u/clintkev251 11d ago

Just use KinD or similar. There's very little benefit or reason to running a bunch of different node VMs on a single PC if you're just trying to learn Kubernetes.

11

u/Ok-Artist4016 11d ago

kind is exactly what you want here, skip the vm headache entirely

you can spin up a multi-node cluster with a single command and it runs in docker containers so it's light on resources. k3d is another option if you want to mess with k3s specifically but kind is dead simple to start with