Installing the Kairos Operator
Deploy and remove the Kairos operator on your Kubernetes cluster
You are viewing the development docs which are in progress. There is no guarantee that the development documentation will be accurate, including instructions, links, and other information. For the latest stable documentation, click here.
The Kairos operator is a Kubernetes operator for day-2 operations of Kairos clusters. It provides a set of Custom Resource Definitions (CRDs) that allow you to manage Kairos nodes, perform upgrades, build OS artifacts, and run arbitrary operations — all from within Kubernetes.
The operator provides three custom resources:
NodeOp: Run generic operations on Kubernetes nodes (Kairos or not). It allows mounting the host’s root filesystem to perform operations or run scripts. Useful for firmware upgrades, configuration changes, resets, and more.
NodeOpUpgrade: A Kairos-specific custom resource for upgrading Kairos nodes. It automatically creates a NodeOp with the appropriate upgrade script and configuration. Supports canary deployments, concurrency control, and failure handling.
OSArtifact: Build Linux distribution artifacts (ISO images, cloud images, netboot artifacts, etc.) from container images directly in Kubernetes. This allows you to build Kairos OS images and other bootable artifacts as Kubernetes-native resources.
Deploy and remove the Kairos operator on your Kubernetes cluster
Run generic operations on Kubernetes nodes using the NodeOp custom resource
Upgrade Kairos nodes using the NodeOpUpgrade custom resource
Build OS artifacts (ISOs, cloud images, netboot) from container images using the OSArtifact custom resource
Configure the Kairos operator to pull images from private container registries