Kubernetes
A container orchestration platform whose core idea is reconciliation: you declare the state you want, and control loops keep nudging the cluster towards it.
🌱 A rough idea, planted recently. Expect rough edges — it will grow.
Kubernetes is a runtime orchestration platform for containers. It abstracts away the machines underneath and automates the operational work: placing workloads, restarting them, scaling them.
The moving parts
- Control plane. Holds the cluster’s state and exposes an API server. People and tools talk to it through
kubectlor a dashboard. Controllers inside it run control loops. - Worker nodes. Application workloads run in pods on worker nodes. An agent on each node, the kubelet, talks to the control plane, and workloads are exposed on the network through Services.
- Custom resource definitions (CRDs). Extend the API with new kinds of resource, so things like monitoring, CI/CD toolchains or databases can be declared and managed the same way as everything else.
The idea worth keeping: reconciliation
You don’t tell Kubernetes what to do; you tell it what you want. A controller then loops forever: observe the actual state, compare it with the desired state, take a small action to close the gap, repeat. Scale a deployment from three replicas to five and nothing “runs a script”; a loop notices the difference and fixes it.
Once you see that loop, it turns up everywhere: GitOps, self-healing machine configuration, even balancing in a handstand (Balance Is a Control Loop). It’s also why Kubernetes so often sits underneath an Internal Developer Platform as its control plane.
Scaling with it
Autoscaling is reconciliation applied to capacity. The Horizontal Pod Autoscaler adjusts replica counts from metrics; the Prometheus Adapter feeds it custom metrics such as queue depth or latency; the Cluster Autoscaler adds and removes nodes; and node pool auto-provisioning can bring up specialised hardware like GPU pools on demand. How those fit together for AI workloads, where model servers and API servers scale very differently, is in Scaling Model Serving on Kubernetes.
- #kubernetes
- #orchestration
- #control-plane
- #reconciliation
- #platform-engineering
↩ Linked from (3)
It's the same loop Kubernetes controllers run, and once you see it you find it everywhere, from self-healing laptops to balancing in a handstand.
- Internal Developer PlatformGrowing
…ne: makes sure services and resources are set up and stay that way, typically through an orchestrator such as Kubernetes. Service plane: runs the things app teams consume, such as an application runtime or a CI/CD pipeli…
An AI-backed service usually has two very different workloads: a fleet of API servers doing I/O, and model servers doing heavy inference. Split them so each can scale to its strengths on Kubernetes.
↪ Links to (3)
Related by topic
- Seed
Anti-Corruption Layer
Backend - Growingcase study
A Resumable CMS Migration Tool
Distributed systems - Growing
Resumable Batch Migrations
Distributed systems - Growingcase study
Rolling Out an API Gateway
Platform engineering