K3s is a lightweight Kubernetes distribution built by Rancher for Internet of Things (IoT) and edge computing.
Rather than using the Kubernetes add-on, which uses
kubeadm to install Kubernetes, the K3s add-on can be used to install the K3s distribution. This distribution includes Kubernetes as well as several add-ons for networking, ingress, and more.
There are several reasons to use K3s instead of Kubernetes (
kubeadm). The main reason is that K3s is simpler than upstream Kubernetes, so it is easier to support. K3s is packaged as a single binary that is less than 50MB. It reduces the dependencies and steps needed to install, run, and update Kubernetes, as compared to
kubeadm. In addition, K3s has lower CPU and RAM requirements.
By default, K3s uses
sqlite3 as the storage backend instead of etcd.
The K3s add-on is currently supported on CentOS and Ubuntu.
The following are included by default with K3s:
K3s has been tested with the following add-ons:
Because K3s support is currently in beta, there are several limitations:
kotsadm.uiBindPortmust be set to something in this range.