Skip to main content

4 posts tagged with "vault"

View All Tags

DR Is Not Cyber Recovery — Building an Immutable, Ransomware-Proof Backup Vault

· 4 min read
Software & Platform Engineer · AI Systems

I went to double-check the platform's disaster recovery and found something uncomfortable. The crown jewels — the k3s kine control-plane database and the Vault raft snapshot — were mirrored off-site to Cloudflare R2. Good. But every object in R2 is deletable by anyone holding the creds.

That protects me from one failure (my controller dies, the site burns down — I rebuild from R2) and leaves me wide open to a very different one: a compromised operator, or ransomware, that deletes the backups themselves. Off-site is not the same as un-deletable.

One Pod Took Down Every Secret in the Cluster — and Why the Fix Wasn't 'Restart It'

· 4 min read
Software & Platform Engineer · AI Systems

I was verifying a routine production deploy when ArgoCD flipped the app to Degraded. The pods were healthy, the endpoints answered — so I looked wider. Every app was Degraded. A cluster-wide query showed 126 ExternalSecrets failing to sync, and they had been failing silently for hours after a power event earlier that day.

Nothing had broken that I could see from the outside. That's the kind of incident worth writing down.

Every Non-Human Identity on a Self-Hosted k8s Platform: A Complete Taxonomy

· 10 min read
Software & Platform Engineer · AI Systems

When you build a production Kubernetes platform from scratch, you accumulate non-human identities faster than you expect. By the time the minicloud platform reached operational maturity — a 5-node bare-metal k3s cluster running 70+ workloads — it had more than 35 distinct non-human identities spanning six different categories. Most of them are invisible during normal operations. You only notice them when one breaks.

This post maps every non-human identity type in use on the platform, explains how they differ, and documents the operational lessons learned from the ones that caused incidents.

Moving Your Kubernetes CA Private Key Into Vault PKI — Without Changing a Single Certificate

· 14 min read
Software & Platform Engineer · AI Systems

Every Kubernetes cluster that uses cert-manager for TLS has the same quiet risk buried in it: the CA private key that signs all your internal certificates is sitting in a Kubernetes secret, stored in plaintext in your cluster's datastore.

On managed clusters with etcd encryption at rest, this is adequately mitigated. On k3s with kine and SQLite — which is how many bare-metal clusters run — the secrets table is plaintext. Anyone who can read state.db from the control plane node can extract your CA private key and forge certificates your entire cluster trusts.

This post covers how we migrated the minicloud root CA private key into HashiCorp Vault's PKI secrets engine, with the same CA cert so nothing else needed to change — no re-trust, no downtime, no changes to any of our 43 Certificate resources.