Launch worker node on the same machine as master node

8/4/2021

I am using k3s. In the official k3s documentation it says "A server node is defined as a machine (bare-metal or virtual) running the k3s server command. A worker node is defined as a machine running the k3s agent command." Is there a way to run multiple nodes on one machine? With the standard use case of k3s it seems that this is not possible, is there any lightweight virtualisation options to make the machine act like several distinct machines but without the computational overhead usually associated with virtualisation? Could this be achieved with k3d?

-- redpanda2236
k3d
k3s
kubernetes
virtual-machine

0 Answers