Kairos: The Immutable Edge OS for Kubernetes

Shriira Press

Preface

Turn any Linux distribution into an immutable, self-clustering, Kubernetes-native operating system that you ship like a container and upgrade like one too.

Welcome to Kairos: The Immutable Edge OS for Kubernetes.

Kairos is a CNCF Sandbox project that solves a problem most edge and fleet operators feel acutely: keeping thousands of Linux machines identical, secure, and recoverable when nobody is standing in front of them. Instead of being yet another Linux distribution, Kairos is a meta-distribution — a framework that wraps a base distro of your choosing, whether Ubuntu, Alpine, Fedora, openSUSE, Debian, or Rocky, and turns it into an immutable operating system delivered as an OCI container image. That image boots with a read-only root, applies its entire configuration from a single cloud-init file, upgrades atomically through an A/B partition scheme that can always roll back, and can bootstrap a K3s or K0s Kubernetes cluster on its own using a peer-to-peer mesh that needs no central control plane to find its peers. This book follows that lifecycle from the inside out. We begin with the problem Kairos exists to solve and the meta-distribution idea, then walk through the immutable filesystem layout, the cloud-init configuration model, the factory that builds custom images, atomic upgrades and recovery, trusted boot and disk encryption, automatic peer-to-peer clustering, the Kubernetes-native operator for managing fleets, and finally how all of it comes together in practice.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — What Kairos Is
  2. Chapter 2 — The Immutable Filesystem
  3. Chapter 3 — Configuration with Cloud-Init
  4. Chapter 4 — The Image Factory
  5. Chapter 5 — Atomic Upgrades and Recovery
  6. Chapter 6 — Trusted Boot and Encryption
  7. Chapter 7 — Peer-to-Peer Clustering
  8. Chapter 8 — Kubernetes-Native Fleet Management
  9. Chapter 9 — Kairos in Practice
0%
1/1