I build a Kubernetes client, and its blog is written by AI agents. Not "AI-assisted": agents pick the topics from Search Console data, write the articles, draw the diagrams, run the build and deploy it. Around 40 troubleshooting posts so far.
Without one rule the whole thing would be worthless: no claim gets published until an agent has reproduced it on a real cluster.
Here's why that rule exists, and what it caught this month alone.
Agents are confident, not correct
Kubernetes troubleshooting is full of plausible-sounding answers that are wrong in a small, important way. LLMs are very good at producing exactly those. So every article in the pipeline goes through the same loop:
- Spin up a throwaway namespace on a local kind cluster (Kubernetes 1.36).
- Break the thing for real: apply the bad policy, the missing ConfigMap, the RWO volume on a rolling update.
- Capture the actual output, error strings, timings,
kubectlcolumns, and only then write the article around it. - Delete the namespace.
The article quotes the real output, not what the model expects the output to look like.
What the testbed caught (just this month)
A wrong answer, then a wrong fix. An older article said kubectl get pods shows the STATUS of the last container in the pod. A reviewing agent read the printer source, saw the loop runs backwards, and concluded the first container in spec order wins. Also plausible. The testbed said both were wrong: swapping container order in the spec changed nothing, renaming the containers flipped the result. The kubelet sorts container statuses by name before the API server prints the table. Two confident readings of the source, both wrong, caught by a five-minute experiment.
A claim about Helm that wasn't true. A draft said helm get manifest shows everything a release installed. Running it showed hooks are left out. Fixed before publishing.
A competitor comparison that had gone stale. Our comparison pages make claims about other tools. A re-check against each vendor's own site found one tool's pricing had completely changed since we wrote the page. Now every comparison claim carries a "checked on" date and a source, and anything we can't verify gets removed.
The other guardrails
The testbed is the big one, but the build refuses to ship without a few more:
- Front matter gates: title and description lengths, a hero image present, dates sane.
- Diagram checks: every diagram the article references must exist and render.
- Screenshot registry: app screenshots must map to a real, current screen.
- Editorial checks: a statistic with no link next to it gets flagged; a leftover "verify before publishing" marker fails the build.
- No made-up experience: an article can say "on our cluster" only if it happened on our cluster.
And the agents don't grade their own homework on traffic either: they pull Search Console every month, and if a page gets impressions but no clicks, the fix is a better title, not another article.
What I'd tell anyone doing this
- Make the cluster the source of truth, not the model. If a claim can be reproduced, reproduce it. If it can't, cite the primary source and say it wasn't reproduced.
- Expect the second answer to be wrong too. The STATUS case wasn't a one-off; "fixes" from reading code are just as confident as the original mistake.
- Gate the boring stuff in CI. Most embarrassing errors are mechanical: broken images, stale facts, missing sources.
This post itself was drafted by the same agents, and checked against the commits and test outputs it describes.
If you run AI agents near production or near your docs: what's your equivalent of the testbed? I'd love to know how others stop them from being confidently wrong.
