Skip to main content
Carnets de MiniCloud
Get an email on every new post — the choice, the trade-off, and what I could verify.
I only use your email to send new posts. No tracking, no sharing — unsubscribe in one click.

A Database Console for Twenty Databases — Why I Deleted Adminer and Picked DBeaver

· 7 min read
Software & Platform Engineer · AI Systems

The platform quietly crossed a line: it now runs ~20 PostgreSQL instances (CloudNativePG clusters with dev/prod pairs, plus a few plain StatefulSets), 3 MariaDB databases, and a ClickHouse store — spread across a couple of dozen namespaces. The question stopped being "how do I open a SQL console?" and became "how do I give myself a console over twenty-plus databases without turning that console into a liability?"

I had been using Adminer — a single in-cluster web SQL UI behind SSO. It was fine at three databases. At twenty-three, across dev and prod, it was the wrong shape. This post is the comparison I actually ran and the decision I landed on.

Database Isolation Is Not Operational Isolation — When Postgres Apps Should Share a Cluster

· 5 min read
Software & Platform Engineer · AI Systems

While wiring up a desktop SQL client across the platform's ~20 Postgres instances, I hit a small surprise: two servers host many databases at once. Backstage keeps 13 of them (one per plugin — backstage_plugin_catalog, _auth, _scaffolder, …); the shared AI server keeps 6 (one per tool — openwebui, litellm, ragdb, vaultwarden, flowise, mlflow). Everything else uses one database per server.

That's a UI curiosity. But it forced the actual design question behind it: when should apps share a Postgres cluster, and when should each get its own? The answer rests on a distinction that's easy to collapse — and expensive when you do.

Closing the Books: an Auditable Period Close — and Why the 'Lock' Is a Polite Fiction

· 4 min read
Software & Platform Engineer · AI Systems

The insurance monolith (ktayl-core) could already turn a bound policy into cash and post it to the general ledger — premium → invoice → payment → double-entry Journal Entries in ERPNext. What it couldn't do was answer the question an auditor actually asks: "does the ledger agree with what you billed this month, and is the period closed?"

That's the finance module, now live in production. Two capabilities: a reconciliation (the billing subledger's posted total vs the GL, the drift between them, and the count of stuck postings) and a period close — lock a month, with a tamper-evident record of who closed it and the figures they attested.

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.

Crossplane Without a Cloud — Why I Deferred It for a Year, and What Finally Earned Its Place

· 5 min read
Software & Platform Engineer · AI Systems

For about a year, my platform's architecture doc had a page titled "Phase 11 — Crossplane (Deferred)." The reasoning on it was, I thought, sound: Crossplane provisions external infrastructure as Kubernetes resources — AWS RDS instances, GKE clusters, Azure subscriptions — and my cluster is six laptops in a cupboard. No cloud account, no cloud resources, nothing to provision. So Crossplane had no job to do. Defer it.

That page even predicted its own ending: "the most likely home for Crossplane is the Backstage / developer portal, where Compositions are the templates a developer clicks create on."

Last week I deleted the word "Deferred" from the title. Here's what I'd gotten wrong, and what finally made Crossplane earn its weight.

API Management Is Two Halves — and You Already Own the Important One

· 6 min read
Software & Platform Engineer · AI Systems

Someone asks you to "put API management in place," and the reflex is to open a browser and compare products: Kong, Gravitee, WSO2, Apigee, Tyk. Pick one, deploy it, call it done.

I didn't buy anything. Not out of frugality — out of a realisation that saves a lot of footprint and regret: "API management" is not one thing. It's two halves, and most teams already own the half that actually matters for their internal APIs.

This is the decision I made for my simulated insurer's platform, what I actually built, the one question that tells me when the other half becomes necessary — and, honestly, the two things I got wrong on the way.

OIDC Is Not a Directory: Why I Keep Reaching for LDAP Next to Authentik

· 7 min read
Software & Platform Engineer · AI Systems

I run the information system of a simulated insurer on a six-node Kubernetes cluster, and the identity story is clean: Authentik is the single sign-on provider, every app is behind it, one login opens everything. That's the whole pitch of SSO — stop sprinkling passwords across forty apps.

So it was a little uncomfortable when, for the second time, I found myself standing up an LDAP server right next to Authentik. First for mail. Then, this week, for the ITSM. Twice I reached past the shiny OIDC door and opened an older, less fashionable one. The honest question a good engineer asks at that point isn't "how do I wire LDAP?" — it's "why does my beautiful SSO keep failing me here?"

The answer turned out to be the same both times, and it's worth writing down so I never re-derive it a third time.

Why an Insurer Needs Guidelines — and How I Built the Whole Framework as Code

· 7 min read
Software & Platform Engineer · AI Systems

A real industrial insurer does not operate by hiring employees and letting each department improvise. It runs on a structured framework — policies, standards, guidelines, procedures and controls — that defines how decisions are made, who is authorized to make them, what controls apply, and what evidence is kept. For an insurer this isn't bureaucracy: the company carries financial responsibility for risks worth millions or billions of euros.

Picture five situations:

  • An underwriter accepts a €200 million industrial risk without proper assessment.
  • A claims handler approves a €2 million claim without checking coverage or getting the required approval.
  • A salesperson promises cover the company legally cannot provide.
  • An IT administrator grants access to confidential claims data without authorization.
  • A manager signs a contract with a supplier under financial sanctions.

Each one is a potential financial loss, legal problem, regulatory breach or reputational hit. Guidelines exist precisely to stop these — by defining how decisions must be made, who may make them, what controls are required, and what evidence must survive.

I rebuilt this framework end-to-end for ktayl-solution, a simulated insurer I run as an engineering laboratory. Here's what I learned.

Modular-Monolith-First: Sizing Architecture to the Problem, Not the Fashion

· 7 min read
Software & Platform Engineer · AI Systems

There's a reflex in our industry, and I had it too: a new business domain shows up, and the hand reaches for "…so that's a new microservice." It feels modern. It feels scalable. It feels like what serious engineers do.

On the ktayl-solution information system — a six-node Kubernetes platform running a simulated insurer's entire IS — I'd built four domains exactly that way: policy, claims, underwriting, identity, each its own repo, CI pipeline, database, promotion track. Then I stopped and asked the question that matters more than any framework choice: is this the right architecture, or just the fashionable one?

This post is the answer I arrived at — modular-monolith-first — and, honestly, the more valuable half: the decision I deliberately didn't make.

The Engineering Harness: Turning an AI Agent Into a Reliable Colleague on a Real Information System

· 14 min read
Software & Platform Engineer · AI Systems

The frontier conversation in AI has quietly shifted. For two years it was "which model is smartest?" Now the people actually shipping agentic systems are asking a different question: "what do you put around the model?"

That surrounding machinery has a name — the harness. The model is the engine. The harness is the chassis, the steering, the seatbelt and the brakes. A brilliant engine bolted to nothing kills you at the first corner; a modest engine in a well-built car gets you home every time. On the ktayl-solution information system — a six-node Kubernetes platform running a simulated insurer's entire IS — I've spent months building the harness that lets an AI agent do real engineering work against live infrastructure without me holding my breath.

This post is that harness, concept by concept. Not the theory — the actual rules I put in place, why each one exists, and the incident that usually forced it.