DevOps & cloud-native field notes from real-world operations.
Kubernetes, Redpanda, Elasticsearch, and the unglamorous work of keeping stateful workloads alive — with real numbers.
- The Validation That Didn't: Two set -e Bugs That Passed Their Tests
I wrote a sync script that pulls a list of network routes from git, validates each line, and refuses to apply bad data. It had two bugs that let bad data through anyway — and the unit tests went green on both. The culprits were a process substitution that couldn't abort its parent, and an IP octet quietly parsed as octal.
- Redpanda on Two Clusters: What Got in the Way
Rolling out a minimal Redpanda fleet with the Redpanda Operator to a cloud VM and a home NAS from one Argo CD. The cloud cluster came up on the first sync. The NAS got stuck on a registry mirror's allowlist, and a two-line pull request to someone else's repo unstuck it. Both now pass a produce/consume smoke test. Along the way: a chart setting that is silently ignored, telemetry that needs two switches to turn off, a disk guard that only works if it beats the kubelet, and a naming scheme that is cheap to read but expensive to change.
- From Pull to Push: One Argo CD for Every Redpanda Cluster
My home lab used to give every Kubernetes cluster its own Argo CD, each pulling its own manifests. For Redpanda I switched to one central Argo CD that pushes to every cluster, reaching a NAT'd NAS through Teleport with a bot that holds one-hour certificates. Here's why the push model is the better fit for a fleet of streaming clusters, what it costs, and the access-control surprise that turned a 'namespace-only' role into a cluster-wide one without anyone noticing.
- One Argo CD per Cluster, and One for Redpanda
My home lab runs an Argo CD on each cluster, and I want to keep that while also running Redpanda the way production does: one central Argo CD deploying it to every cluster through Teleport. This post covers the half that's built: isolation that makes a wrong kube context fail closed, a disk-pressure incident that turned out to be 53 GB of unused disk, and the target-cluster side of a narrow access chain. It also covers the half that's still planned, including a 'cheap rename' I had to take back.
- Letting Atlantis Manage Teleport Without Pretending It's Safe
Moving my home lab's Teleport roles into Terraform, driven by Atlantis, with a bot that joins using a projected ServiceAccount token instead of a stored secret. The plumbing took an afternoon. The harder part was being honest about what the least-privilege role actually protects: my first draft claimed there were no secrets involved and that a deny list kept the bot from locking me out, and both claims were wrong.
- The Kube Agent That Lived Next Door
A follow-up to the bundled k3s that couldn't create a thread — the post where I'd decided the cluster couldn't host the agent at all, and was wrong. It can; the chart just needed Unconfined. I ran the agent outside the cluster anyway, because it's the cleaner separation, and hit two traps worth more than the original mistake: a kubeconfig that was valid where it was born and useless once moved, and a NAS that couldn't reach Docker Hub. Both have the same moral — make the thing self-contained before you move it.
- The Defaults That Were Doing the Work
Standing up a self-managed modern k3s, a Teleport agent, and ArgoCD on a locked-down NAS — one that can't reach Docker Hub, boots a vendor k3s frozen at an EOL version, and has a root filesystem the size of a postage stamp. Nothing went wrong that was hard, exactly. What went wrong was that every convenience I'd stopped noticing — a reachable registry, a roomy /root, a project that creates itself, an identity that survives a config change, a Helm upgrade that just connects — turned out to be load-bearing, and the environment removed them one at a time.
- The Bundled k3s That Couldn't Create a Thread
A QNAP NAS ships a one-click k3s inside Container Station, so I tried to register it for Teleport Kubernetes Access. The agent went into CrashLoopBackOff with pthread_create: Operation not permitted — an old seccomp profile rejecting clone3. I had the mechanism right and the conclusion wrong: I decided the cluster couldn't run any threaded image and said so, out loud, before running the one cheap experiment that would have corrected me. This is that debugging trail and the test that turned the verdict inside out.
- A Teleport SSH Node on a NAS, Deployed Through a GUI: Four Traps
Adding a Teleport SSH target is usually an evening's work: an agent dials out over 443 and the box is reachable through the reverse tunnel. This time the box was a consumer NAS administered only through its web console — no host shell, no docker build, and a daemon that couldn't reach Docker Hub. Four traps followed: a GUI that hides the host, an image pull that timed out while egress worked fine, a dollar sign that Compose ate before the container ever saw it, and two agents sharing one node name.
- Terraform on Oracle Cloud: Eight Pitfalls I Hit So You Don't Have To
A free-tier OCI lab, Terraform managing instances, VCN and security rules, and a state file that later moved to OCI Object Storage's S3-compatible backend. Eight traps from that work: an import ID that is not what you assume, a 401 with two stacked causes, a plan that never goes clean, free-tier capacity rules nobody writes down, and an S3 backend that rejects every upload with 501 NotImplemented.