These instructions outline a quick method for running a local k0s master and worker in a single node.
NOTE: This method of running k0s is only recommended for dev, test or POC environments.
Install k0s as documented in the installation instructions.
k0s default-config > k0s.yaml
$ sudo k0s install controller -c /full/path/to/k0s.yaml --enable-worker
INFO[2021-02-25 15:34:59] Installing k0s service
$ sudo systemctl start k0scontroller.service
$ k0s kubectl get nodes