Installing K3S and K9S on an Ubuntu Server VM

K3S is a lightweight version of Kubernetes and is used for running on resource constrained environments.

To install run the following
curl -sfL https://get.k3s.io | sh - 

There is an interesting output to note after the install, K3S installs a single binary and creates 3 symlinks.

[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
Check that the cluster is running
sudo k3s kubectl get node

k3s install

K9S is a CLI application that manages your Kubernetes cluster

To start K9S run the following
k9s --kubeconfig /etc/rancher/k3s/k3s.yaml

K9S showing currently running pods on the newly installed K3S cluster:

k9s cli application