Creating a single-node cluster#
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.
Prerequisites#
Install k0s as documented in the installation instructions.
Start k0s#
$ sudo k0s install controller --single
INFO[2021-02-25 15:34:59] Installing k0s service
$ sudo systemctl start k0scontroller.service
Use k0s to access the cluster#
$ k0s kubectl get nodes