Skip to content
StackDecode
BeginnerLesson 1 of 35

Why Kubernetes, and how it is built

An orchestrator that keeps your containers running the way you declared.

Kubernetes (K8s) runs containers across a cluster of machines. You declare the desired state ("3 copies of this app") and Kubernetes keeps making reality match it: restarting crashed containers, replacing failed machines, scaling and rolling out updates.

  • Control plane: the API server, etcd (the cluster database), the scheduler and controller managers.
  • Nodes: the machines that run your workloads, each with a kubelet, a container runtime and kube-proxy.
  • Everything is an API object described in YAML and stored in etcd.