Skip to content

9.1. Kubernetes: The Operating System for Distributed Systems

Everything in Kubernetes is a control loop: a controller watches the desired state in etcd, compares it to reality, and acts to close the gap. Understanding the core objects means understanding what each controller reconciles — a Deployment toward a replica count, a StatefulSet toward stable identities, the scheduler toward feasible placements. This chapter covers those workload objects, the scheduler’s placement mechanics, etcd as the cluster’s source of truth, autoscaling, and the Operator pattern that extends the reconciliation model to your own domain.