TGViewer
DevOps&SRE Library DevOps&SRE Library @devopslibrary · 19.9K subscribers
Post #7593 2.71K
The feedback loops behind Kubernetes

For the last decade, Kubernetes has been the backdrop to most of my work: operating clusters, helping build hosted Kubernetes, and writing Kubernetes operators. At PlanetScale, that now means running stateful systems like Postgres and MySQL in production. Kubernetes has many faces, but here I want to talk about one face only: why it is so good at running workloads at scale.

People ask me what an operator actually does. The canonical answer is: "it reconciles desired state." This is correct, but it also tells you almost nothing.

An operator is a feedback controller. It's the same closed loop that runs a thermostat or keeps your car at a fixed speed on cruise control. In our case, the thing being controlled is a database. I have been building these loops for years, and the best way I know to make them click is to ignore Kubernetes at the beginning. Kubernetes is full of control theory, even if we don't call it that in the day-to-day.

Before we look at a single line of Kubernetes, we're going to run a production database by hand and slowly let the feedback loop appear on its own. Then we'll map that loop to Kubernetes, with the pieces production needs: a store, watches, queues, retries, and more. At the end, we'll look at what one of these loops looks like in a real operator.


https://planetscale.com/blog/the-feedback-loops-behind-kubernetes
More from @devopslibrary
  1. Sep 23, 2026Building a Real k6 Test Suite Against a Live Kubernetes App In part 1 I covered k6's philo…
  2. Sep 22, 2026My Experiments with MCP: Moving Beyond the "Agent Wrapper" I'm currently working with a cl…
  3. Sep 22, 2026Your AI just deleted the wrong deployment. Now what? Picture this. A developer asks an AI…
  4. Sep 21, 2026Kafka on Kubernetes: Performance Lessons for Any Disk-Heavy Data Service We recently start…
  5. Sep 21, 2026What the Popularity of Emerging Tools Tells Us About Kubernetes' Future Kubernetes has mat…
  6. Sep 20, 2026How Uber Conquered Database Overload: The Journey from Static Rate-Limiting to Intelligent…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →