What Kubernetes is and is not

Beginner · 21 min

Kubernetes is an API for desired state plus controllers that chase it. What that gives you, what it leaves to you, and when it is the wrong tool.

LearnThatStack · 21 min

What Kubernetes is and is not

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by LearnThatStackReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • Kubernetes is a declarative API backed by a store, plus many small controllers that keep pushing the real world toward what the API says it should be.
  • It is not a workflow engine. You never tell it to do A, then B, then C; you record the end state, and independent loops converge on it in whatever order works.
  • It does not build images, deploy source code, ship a database or message bus, pick your logging and monitoring, or give you a configuration language. Those are choices you add.
  • The core does not run containers either. The kubelet on each node, talking to a container runtime, does that; the API server and controllers only record and decide.
  • The payoff is a uniform, extensible API for placement, recovery, rollouts, discovery and scaling across many machines. The cost is real operational complexity that one or two servers rarely justify.

The question it answers

You already know the problem from the survey in devops. One server with a few containers is easy. Ten servers with forty containers turn into a list of chores: decide where each copy runs, notice when one dies, roll out a new version a few copies at a time, tell services where their peers moved to, and add copies when traffic spikes. Why orchestration exists walks through those chores, and Kubernetes core objects names the objects you use for them.

This roadmap goes further. Before the parts, it is worth being precise about the shape of the thing, because most confusion about Kubernetes comes from expecting it to be something it is not.

What it is: a database of intentions with loops attached

Strip Kubernetes down and you find three ideas.

  1. An API for desired state. Every object you create, whether a Deployment, a Service or a ConfigMap, is a record that says how something should be. The API server validates it and stores it in etcd.
  2. Controllers. Small programs watch those records and compare them with reality. A Deployment controller sees “three replicas wanted, two exist” and creates one. A node controller sees “this node stopped reporting” and marks it unreachable. Each loop owns one narrow job.
  3. Agents on the machines. The kubelet on each node watches for Pods assigned to it and asks a container runtime to start them.

Think of a warehouse with a shared order board. Customers pin orders to the board. Pickers each watch one kind of order and work until the shelf matches the board. Nobody hands a picker a step-by-step script; if a box falls off a shelf at night, the next picker to look at the board notices the gap and fixes it.

The Kubernetes overview page says this outright: Kubernetes “is not a mere orchestration system. In fact, it eliminates the need for orchestration.” Orchestration in the strict sense means running a workflow, first A, then B, then C. Kubernetes instead records the end state and lets independent loops converge on it. That is why it copes with failure mid-way: there is no half-finished script, only a gap that the next pass of some loop will close.

Watching that split on a real API server

The lab for this roadmap is a real Kubernetes v1.37.3 control plane, API server, etcd, scheduler and controller manager, with fake Node objects and no kubelet. It cannot run a single container. It is still a working Kubernetes, which makes the point better than any diagram:

$ kubectl create deployment web --image=nginx:1.29 --replicas=3
deployment.apps/web created
$ kubectl get deploy,rs,pods -o wide
NAME                  READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/web   0/3     3            0           3s

NAME                             DESIRED   CURRENT   READY   AGE
replicaset.apps/web-689b9bdbdd   3         3         0       3s

NAME                       READY   STATUS    RESTARTS   AGE   IP       NODE
pod/web-689b9bdbdd-tmd6n   0/1     Pending   0          3s    <none>   fake-1
pod/web-689b9bdbdd-vxgrd   0/1     Pending   0          3s    <none>   fake-1
pod/web-689b9bdbdd-xdldd   0/1     Pending   0          3s    <none>   fake-1

The Deployment controller created a ReplicaSet, the ReplicaSet controller created three Pods, and the scheduler bound each one to fake-1. Then nothing, because the step that starts containers belongs to a kubelet that is not there. Deleting a Pod shows the loop working:

$ kubectl delete pod web-689b9bdbdd-tmd6n --wait=false
$ kubectl get pods
NAME                   READY   STATUS        RESTARTS   AGE
web-689b9bdbdd-mvwsr   0/1     Pending       0          2s
web-689b9bdbdd-tmd6n   0/1     Terminating   0          5s
web-689b9bdbdd-vxgrd   0/1     Pending       0          5s
web-689b9bdbdd-xdldd   0/1     Pending       0          5s

A replacement appeared within two seconds, and nobody asked for it. The deleted Pod sits in Terminating. A graceful delete only finishes when the kubelet confirms its containers have stopped, and there is no kubelet to confirm. The control plane records and decides. Machines do.

What it is not

The same overview page lists what Kubernetes leaves out on purpose. Each item is a decision you will make yourself:

  • It does not build your code. There is no “deploy from Git” in the core. A CI system builds an image; Kubernetes only ever sees an image reference in a Pod template. GitOps tools such as Argo CD close that loop, covered later in Argo CD in practice.
  • It ships no application services. No database, cache, message bus or storage system is built in. You can run Postgres on Kubernetes, but Kubernetes will not back it up for you.
  • It picks no logging, monitoring or alerting stack. It exposes hooks and metrics; you choose Prometheus, Loki or a vendor.
  • It has no configuration language. It accepts YAML or JSON objects. Helm, Kustomize, Jsonnet and CUE all exist because people want templating on top.
  • It does not manage your machines. OS patching, disk replacement and kernel upgrades happen outside it, or in a managed service that does them for you.
  • It is not a PaaS. A platform like Heroku gives you git push and a URL. Kubernetes gives you the parts to build that, which is why so many companies build an internal platform on top of it.

The cost side

Every one of those gaps is a component someone on your team installs, upgrades and debugs. A small cluster still needs an ingress or Gateway controller, a CNI plugin, DNS, a metrics pipeline, certificates, RBAC and an upgrade cadence that keeps pace with a release every four months. Managed services remove some of that work and none of the concepts.

So the honest test is the chore list from the top of this lesson. If you have many services across many machines, ship several times a day and need failed nodes handled without a human, the uniform API pays for itself. If you have one app on one host, a restart policy and a backup cron job are less to break.

About the video

The embed is LearnThatStack’s “Kubernetes Is Not a Deployment Tool” (March 2026, 21 minutes). Judged from its description and chapters, it argues that Kubernetes is a declarative state-management system, spends its first long chapter on the control loop, then builds up Pods, Services, Deployments, the scheduler and Ingress as consequences of that loop. That matches the framing here. Its Ingress chapter predates the shift toward the Gateway API and the retirement of the community ingress-nginx controller, so treat that part as background. English was judged from the English title, channel and English caption track; the page reports no audio-track metadata. Anton Putra’s current beginner tour in deeper covers the same objects with a longer YAML walkthrough.

What was run: the Deployment, ReplicaSet, scheduling and Pod-replacement output above came from a local v1.37.3 API server whose nodes run no containers, on 2026-11-28. The “is not” list and the orchestration quote are from the Kubernetes overview page, checked the same day.

Where this fits

Next, the deciding half of that split in detail: the control plane.

Check yourself

  1. 01Kubernetes is often called a container orchestrator. Why do its own docs say it eliminates the need for orchestration?

    Orchestration in the strict sense is executing a defined workflow, step after step. Kubernetes instead stores a desired state and runs independent control loops that each close one gap. No central script decides the order, so a loop that fails simply tries again on its next pass.

  2. 02Your team asks Kubernetes to build the app from its Git repository on every push. Where does that work actually belong?

    In a CI system that builds and pushes an image. Kubernetes only consumes image references in Pod templates; it never sees source code. Tools such as Argo CD or Flux can then update the manifests that point at the new image.

  3. 03On a cluster whose nodes have no working kubelet, you apply a 3-replica Deployment. What do you expect to see?

    The Deployment, a ReplicaSet and three Pod objects all appear, and the scheduler assigns each Pod a node. The Pods stay Pending with no IP because nothing on the node starts containers. The control plane did its whole job; running containers was never part of it.

  4. 04A startup runs one web app and one Postgres on a single VM with a restart policy and nightly backups. Is moving to Kubernetes an obvious win?

    Usually not. Kubernetes earns its cost when you have many services, many machines, frequent rollouts and a need for automatic rescheduling. For one app on one host, the cluster itself becomes the biggest thing to operate.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark