Definition
What it is
Kubernetes (often abbreviated K8s: "K" + 8 letters + "s") is not a container runtime. It does not build images, does not run containers by itself, and does not replace Docker. It is the control plane that sits above any OCI-compliant runtime, and decides where each container runs, how many run, and how they talk to each other and to the outside world.
Under the hood, it is a distributed state reconciliation system: you declare the desired state in YAML, the control plane compares it to the observed state, and controllers continuously push the real world toward the declared one.
Why it matters
Before Kubernetes, running containers at scale meant writing bespoke scripts for scheduling, health checking, restarting, load balancing, rolling updates. Each team reinvented a partial version of the same control loop. Kubernetes formalized that loop as a declarative API that every tool, every cloud, and every operator now speaks.
Today it is the closest thing to a universal control plane for infrastructure. AWS, GCP, Azure, DigitalOcean, Linode, Hetzner and every serious cloud offer a managed Kubernetes product. The CNCF 2024 survey reports that 96% of organizations use Kubernetes, with 60%+ running it in production and a projected 90% enterprise adoption by 2027.
Architecture: control plane and nodes
Component | Where | Role |
|---|---|---|
kube-apiserver | control plane | Frontend for the API; accepts and validates every request |
etcd | control plane | Consistent, highly available key-value store; the source of truth |
kube-scheduler | control plane | Assigns unscheduled pods to nodes based on resources, affinity, taints |
kube-controller-manager | control plane | Runs the control loops that reconcile desired vs observed state |
kubelet | node | Runs pods on the node; ensures containers are running and healthy |
kube-proxy | node | Implements Service networking rules on the node |
container runtime | node | Pulls and runs containers (containerd, CRI-O, Docker via dockershim historically) |
The core resources
Resource | What it represents | Managed by |
|---|---|---|
One or more containers that share a network and storage namespace | You (rarely) or a controller | |
Deployment | Declarative rollout of N identical Pods, with rolling updates | Deployment controller |
ReplicaSet | Ensures a stable number of Pod replicas | Deployment controller |
Service | Stable virtual IP + DNS name load-balancing across Pods | Service controller + kube-proxy |
Ingress | HTTP(S) routing from a hostname/path to a Service | Ingress controller |
ConfigMap | Non-sensitive configuration injected into Pods | You |
Secret | Sensitive configuration (base64-encoded) injected into Pods | You |
Namespace | Logical partition of the cluster (quotas, RBAC scope) | You |
PersistentVolume / PVC | Storage that outlives Pod restarts | StorageClass provisioner |
The reconciliation loop
graph LR
D[Desired state in YAML] --> A[kube-apiserver]
A --> E[etcd]
E --> C[Controller]
C --> O[Observed state]
O --> D2{Diff?}
D2 -->|Yes| Act[Act: create/delete/update]
Act --> E
D2 -->|No| Wait[Wait for next event]
style D fill:#E8F5E9
style Act fill:#FFF3E0
How to use it well
Kubernetes that ages well
Everything in Git
No
kubectl edit, nokubectl run. All manifests in Git, applied via GitOps (Argo CD, Flux).Resource requests and limits on every container
Without them, the scheduler cannot place pods sensibly and one greedy pod can starve a node.
Health checks on every workload
readinessProbecontrols traffic;livenessProbecontrols restarts. Without them, broken pods stay in rotation.Namespaces per environment
dev,staging,prodin separate namespaces with RBAC and quotas. Not one flat cluster for everything.Pin image digests, not tags
image@sha256:...in production. Tags move; digests do not.Prefer StatefulSets only when you must
Stateless workloads belong in Deployments. StatefulSets are for databases and anything with stable identity.
Common failures
Origin
Google had been orchestrating containers internally since the early 2000s with Borg, then Omega (a Paxos-based redesign of Borg's scheduler). In 2014, Google open-sourced a new system built on those lessons, rewritten in Go, named Kubernetes. The name comes from the Greek κυβερνήτης (kybernḗtēs): helmsman, pilot, governor — the same root as cybernetics.
Kubernetes was built on ideas that had been proven out at Google over the previous ten years with Borg.
— Kubernetes.io, *4 Years of K8s*, 2018
Evidence
FAQ
- Kubernetes vs Docker?
Docker builds and runs containers on one machine. Kubernetes orchestrates containers across many machines. Docker is a runtime; Kubernetes is a control plane above any OCI runtime.
- Is Kubernetes hard to learn?
The core is small (Pod, Deployment, Service, Ingress), but the surface is vast (CRDs, operators, service meshes, RBAC, network policies). Start with the four resources and grow.
- Should I use Kubernetes for a small app?
Probably not. A single VPS with Docker Compose is simpler and enough up to moderate scale. Kubernetes pays off when you have many services, many teams, or strict availability requirements.
- Managed or self-hosted?
Managed (EKS, GKE, AKS) for most teams. Self-hosted (kubeadm, k3s, Talos) only when you need full control and have the ops team to support it.
- Does Kubernetes replace serverless?
No. Knative and similar projects bring serverless semantics to Kubernetes, but serverless platforms (AWS Lambda, Cloudflare Workers) remain simpler for event-driven workloads.
Connections
● broader ● narrower ● related
Broader
container-orchestrationcloud-native
Related
Used in the garden
Sources
Kubernetes (2026). Cluster Architecture. https://kubernetes.io/docs/concepts/architecture/
Kubernetes (2026). Components of Kubernetes. https://kubernetes.io/docs/concepts/overview/components/
Burns, B. et al. (2016). Borg, Omega, and Kubernetes. ACM Queue. https://doi.org/10.1145/2898442.2898444
CNCF (2018). Kubernetes graduates CNCF. https://www.cncf.io/announcements/2018/03/06/cloud-native-computing-foundation-announces-kubernetes-first-graduated-project/
Etymology
Origin: borrowed
kubernetes(noun): from Greek κυβερνήτης (kybernḗtēs), "helmsman, pilot"; root of "cybernetics" and "governor"
Semantic network
● broader ● narrower ● related
Broader
container-orchestrationcloud-native
Related
Used in the garden
Sources
Kubernetes (2026). Cluster Architecture. https://kubernetes.io/docs/concepts/architecture/
Burns, B. et al. (2016). Borg, Omega, and Kubernetes. https://doi.org/10.1145/2898442.2898444
CNCF (2018). Kubernetes graduates CNCF. https://www.cncf.io/announcements/2018/03/06/cloud-native-computing-foundation-announces-kubernetes-first-graduated-project/