k0smotron

k0smotron is a Kubernetes operator designed to manage the lifecycle of k0s control planes in a Kubernetes cluster. It turns an existing Kubernetes cluster into a control plane management platform. As the following illustration shows, it enables you to run multiple Kubernetes control planes as Pods in a host/management cluster.

Overview

In this section, we’ll first create a management cluster using kind. Next, we’ll create a child cluster which control plane is running as Pods in the management cluster. We’ll then focus on Cluster API (CAPI) (a Kubernetes project for declarative cluster management) to illustrate how k0smotron can be used as a CAPI provider.