Introducing K3s and its architecture
K3s is a lightweight Kubernetes distribution created by Rancher Labs. It includes all the necessary components inside a small binary file. Rancher removed all the unnecessary components for this Kubernetes distribution to run the cluster, and it also added other useful features to run K3s on the edge, such as MySQL support as a replacement for etcd
, an optimized ingress controller, storage for single node clusters, and more. Let's examine Figure 2.1 to understand how K3s is designed and packaged:
In the preceding diagram, you can see that K3s has two components: the server and the agent. Each of these components must be installed on a node. A node is a bare-metal machine or a VM that works as a master or agent node. The master node manages and provisions Kubernetes objects such as deployments, services, and ingress controllers inside the agent nodes. An agent node oversees the processing of information...