K3D
If you are going to deploy containers, you need to have a container runtime installed.
Install Docker completely with the convenience script.
sudo apt-get install curl -y
curl -fsSL https://get.docker.com | bash
Install kubectl to access the cluster afterwards, as k3d automatically adds the parameters to kube/config.
sudo apt-get install kubectl -y
Once installed, you will only need to run
k3d cluster create --config config.yaml
If you check the configuration file, you will see that it will deploy 1 master and 3 workers.
If you want to change the deployment, check https://k3d.io/v5.0.0/usage/configfile/.
Run kubectl get nodes and see the output.