All posts
Technical deep-dives from building the minicloud platform GitOps, Kubernetes, AI, and bare-metal engineering.
Reviewing the platform's DR, I realised the off-site backups were deletable — which survives a dead server but not a compromised operator or ransomware. So I added a third storage layer: an immutable AWS S3 Object Lock vault, and proved I could recover Vault from it in 37 seconds using a single off-cluster key. Here's the distinction DR hides, and the trade-offs I made.
The platform grew to ~20 PostgreSQL instances plus MariaDB and ClickHouse across many namespaces. A single in-cluster web SQL console (Adminer) stopped being the right answer. Here is the tool comparison I ran, why a local client beat a hosted one, and the three Kubernetes-specific details that make it safe.
Browsing the platform's databases, I noticed two Postgres servers host many databases — Backstage 13, the AI server 6. That raised the real design question: when should apps share a Postgres cluster, and when should they get their own? The answer turns on a distinction that's easy to miss — separate databases isolate access, not operations, and especially not recovery.
Shipping the ktayl-core finance module — GL reconciliation and an auditable period close — to production. The interesting part wasn't the code; it was discovering that a 'period lock' can't physically exist without breaking the architecture, and what an honest close does instead.
A power event left 126 ExternalSecrets failing cluster-wide. The symptom pointed at Vault; the cause was a single controller pod on a flaky node. The interesting part is why the obvious fix — restart it — does nothing, and what actually makes it self-heal.
The reflex is that Crossplane is for provisioning cloud resources — RDS, GKE, S3 — so on a bare-metal cluster with no cloud account, it has nothing to do. I believed that and deferred it for a year. I was wrong about what Crossplane is for. Its value isn't a cloud account; it's a self-service infrastructure API, and the thing that makes that worth building is a developer portal. Here's the decision, what I built (including the composite-of-composites that genuinely impressed me), the boundary that keeps it from duplicating Helm, and the lesson about timing.
Someone asks you to 'put API management in place' and the reflex is to go shopping — Kong, Gravitee, WSO2, Apigee. I didn't buy anything. Because 'API management' is actually two different halves, and on a platform that already has an identity provider, a network policy layer and a service catalog, you already own the half that matters for internal APIs. Here's the decision, what I built, the one question that tells me when to buy a gateway, and the two things I got wrong on the way.
I run a simulated insurer's IS with Authentik as the single sign-on provider — one login for everything. So why did I just bolt an LDAP server onto it for the second time? Because SSO answers one question, and twice I needed a different one. Here's the root cause, and the rule that tells you in advance which protocol you actually need.
An insurance company doesn't run by hiring people and letting each department decide how to work. It runs on a framework of policies, standards, guidelines, procedures and controls. I built that framework for my simulated insurer — 15 governance books, 80 pages, wired to the business apps — and learned that the hard part isn't writing the rules. It's keeping the human rule, the executable rule and the engineering decision as one thing.