Platform & Kubernetes
Infrastructure, controllers and the paved road other engineers build on.
- A Gateway Is Only One of Three Boundaries Letting analysts query the warehouse through AI assistants sounds like one problem with one fix: put a gateway in front. Designing a pilot on ClickHouse and dbt showed me it's three problems. The gateway decides who you are and which tools you may call. The database decides what a query can touch. And a shared repo decides what the data means.
- A Secret in Git Is a Secret Forever Deleting a key in the next commit doesn't remove it from history, clones, CI caches or images. Only rotation un-leaks it. And now that AI can read a leaked codebase faster than you can, "nobody will find it" has stopped being a defence. Assume the code will be read, and make it worthless.
- A Number in Prose Is Not a Measurement Most engineering decisions rest on a number someone typed into a doc. Most of those numbers were derived once, by one method, and never checked. The fix is boring and it works: derive any number that drives a decision twice, by independent methods, before you act on it.
- A Default Is a Decision Nobody Made Every unset value in your stack is still set, by whoever wrote the tool, for hardware and workloads that aren't yours. Most defaults are fine. The ones that read their environment are the ones that will quietly size your system for a machine you don't have.
- A Migration Has Two Halves Renaming a contract that live resources carry isn't a rename. It's a data migration: honor both names, write the new one, relabel in place. And the migration usually has two halves that don't move together: the one you can see, and the one that will delete your data if you call it done too early.
- Schema Migrations That Don't Drift A migration system that works is not just a runner that applies SQL files. It's a system that can answer, at any moment: exactly what state is prod in, how did it get there, and what happens if someone deviates from the path? uBixCore's migration standard is built around that question.
- The Monorepo as an Upgrade-Forcing Function Upgrade debt is a structural problem, not a behavioral one. If shared libraries can be ignored, they will be. uBixCore's monorepo makes ignoring them impossible: every PHP API and every SvelteKit frontend upgrades together, in one commit.
- What Microservices Actually Cost: Lessons From 13 Services XenTask is a 13-service microservice architecture. Building it taught me three things that no microservices tutorial covers: what shared code costs across repos, how to use the platform for service discovery instead of building your own, and what 13 independent pipelines actually feel like to operate.
uBix Vault 1.8: A Console You Can Run a Vault From
uBix Vault's console was one long page of panels: enough to unseal and poke at a secret. 1.8 makes it an application: a dashboard, a key/value browser that hides values until you ask, users and roles for every auth method, and buttons that follow your token's permissions. Still no third-party code.
uBixReplikate 1.4.1: Same Controller, a Name That Fits the Family
Replikate is now uBixReplikate. 1.4.1 renames the repo, the Helm chart, the image and the Go module, and changes nothing a running cluster can see: the annotations, the copies and the leader lease stay exactly as they were.
uBixGate: One Door for Every Agent's MCP Tools
uBixGate is a small MCP gateway in Go: agents connect to one endpoint, and every tool call is authenticated against your identity provider, checked against a deny-by-default policy, given the upstream's credential from Vault at call time, and written to an audit log. The first beta, v0.1.0-beta.1, is out. Here's what it does, what it deliberately doesn't, and why it's small enough to read in an afternoon.
uBix Vault 1.7: Hand Out Role Administration Without Handing Out Root
Before 1.7, anyone who could write an auth role in uBix Vault could make themselves root. 1.7 closes that: root comes only from the key holders, policies gain Vault's parameter limits, and a token can ask what it's allowed to do.
uBix Vault 1.6: Why I Rolled My Own Secrets Manager (and Why You Might Try It)
I needed a secrets manager built to carry real production traffic and lighter to run than Vault, so I built one that speaks Vault's API. 1.6 adds Raft storage that keeps its own replicated data. It's EXPERIMENTAL, and here's what I did to try to break it.
uBix Vault 1.5: The Whole Lifecycle in the Browser, and Tokens That Know Their Parents
1.5 lets the web console initialize and unseal a vault, tested in a real browser on every commit. It also finishes the token work 1.3 started: revoking a token now revokes the tokens it handed out, and every auth role can cap how long its tokens live.
Replikate: Blue to Green, and the Switch I Forgot to Install
Cross-cluster replication has been in Replikate since 1.1, and 1.3 made it flexible enough for blue/green. Then I went to turn it on with Helm and found the chart had no switch for it. Chart 1.3.1 fixes that.
uBix Vault 1.3: The Token That Could Mint Root, and Signing In Properly
1.3 fixes a critical hole in token creation (a token allowed only to create tokens could create a root one), caps how long any token can keep itself alive, and lets the web console sign in with a username and password or LDAP. If anything in your policies grants auth/token/create, upgrade.
uBix Vault 1.4: Vault-Compatible, Checked With Vault's Own Client
uBix Vault has always said it speaks a Vault-compatible API. In 1.4 I finally tested that claim with HashiCorp's own Go client, the one the vault CLI and External Secrets Operator are built on. It failed on the very first call. Now it doesn't, and along the way the testing turned up policies stored empty, LDAP forced into insecure TLS, and 80,000 forgotten tokens.
uBix Vault 1.2: High Availability, Because Nodes Get Drained
1.2 runs uBix Vault as several replicas: one active, the rest standing by, all behind one Service. A node drain or a rolling upgrade now hands over in about half a second without a failed request. And a replica that loses the lock without noticing can't write a thing.
uBix Vault 1.1: Resource Quotas, the First Enterprise-Parity Feature
1.0 matched HashiCorp Vault's free tier. 1.1 is the first step toward the *Enterprise* feature set: resource quotas (rate-limit quotas and lease-count quotas), in-house, over the Vault-compatible API. Additive, backward-compatible, and built design-first.
uBix Vault 1.0: Stable, and Honest About What That Means
uBix Vault is 1.0. That is a promise about the interface, not a claim that the crypto has been audited. I want to be exact about the difference, because for a secrets manager the difference is the whole point.
uBixCore 0.2: From Monorepo to Framework, Skeleton, and Runtime
uBixCore used to be a monorepo you forked. As of 0.2 it is a framework you install: a Composer package, a create-project skeleton, and a public PHP runtime image, all under github.com/ubixsys. Here is what changed, why the product had to move out first, and what stands between 0.2 and 1.0.
uBix Vault Beta 12: Identity, and a Second Dependency
Beta 12 is the first batch of work after the engineering was 'done': closing the last gaps with HashiCorp Vault's free tier. It adds a full identity layer, LDAP login, and more. It also spends the project's second-ever dependency, on purpose, and I want to explain why.
uBix Vault Beta 11: The Last Gate I Can Build Myself
Beta 11 adds cloud-KMS and HSM auto-unseal without a single provider SDK in the vault. With it, every engineering gate on the road to 1.0 has landed. What's left is the one gate I can't build myself: an outside security review.
Replikate 1.2: Two Hubs, One Spoke, No Fights
1.1 taught Replikate to cross clusters. 1.2 is the unglamorous follow-up that makes it safe to lean on: two hubs can target the same spoke without eating each other's copies, the self-cluster guard is now proof against URL trickery, and a freshly-registered spoke fans out at once.
uBix Vault Beta 9: Making It Durable
The feature list has been done for a while. Beta 9 is about the thing that actually gates running a secrets manager for real: durable storage. uBix Vault can now live in a database instead of on one node's disk, with live unseal-share rotation and scheduled backups. Still one dependency.
Replikate 1.1: Now It Crosses Clusters
When I cut Replikate 1.0 I froze the annotation contract and promised the big follow-up, cross-cluster replication, would arrive as an addition that broke nothing. 1.1 delivers it: annotate a source with target-clusters and it replicates into other clusters, proven end to end against two real API servers.
uBix Vault Beta 8: Transit, or Signing Without a Library
Beta 7 gave uBix Vault a way to authenticate anything. Beta 8 turns its Transit engine into full crypto-as-a-service (sign, verify, HMAC, data keys, rewrap) plus single-use response wrapping. All of it standard-library, still essentially one dependency.
uBix Vault Beta 7: A Full Auth Suite, and Its Own CA
The last uBix Vault post ended with a service running on my own cluster. Four betas later it can authenticate almost anything (AppRole, Kubernetes, username/password, and now JWT/OIDC), and it can be its own certificate authority. All of it still stdlib-only, still essentially one dependency.
uBix Vault Beta 3: Running It on My Own Cluster, With a Console
The last post was about uBix Vault becoming a working beta. This one is about making it real: a Helm chart, multi-arch images, an admin console, metrics, rate limiting, and deploying it onto my own Kubernetes cluster. Two betas of operational work, and the lockout bug I almost shipped.
uBix Vault Hits Beta: From Design Notes to a Working Secrets Manager
A few weeks ago I posted the design notes for a from-scratch, Vault-style secrets manager in Go. It's now a working beta (v0.2.0-beta.1) with encryption at rest, Shamir seal/unseal, dynamic database credentials, auto-unseal, backups, and more. Here's what got built, and the engineering bits worth writing down.
Replikate 1.0: A Stable Contract
Replikate is 1.0. The annotation contract is frozen, the same-name clobber-war bug is fixed, and the one path that had never run on a real cluster (the admission webhook) is now green end to end. Here's what closing out a 1.0 actually took.
Replikate Grows Up: Instant Drift Correction, Metrics, and a Webhook
Two days after launching the MVP, Replikate went from v0.1 to v0.4: near-instant drift correction, Prometheus metrics, an optional validating webhook, namespace exclusions, a field indexer, and a real integration test suite. Here's what shipped, plus an honest revisit of the three edges I named on day one.
uBix Vault: Building a Secrets Manager From Scratch
A new project, still in early development: a from-scratch, HashiCorp Vault-style secrets manager in Go. Here's what it is, why I'm building it when Vault and OpenBao already exist, and the design decisions I've committed to so far.
Replikate: ConfigMap and Secret Replication Across Kubernetes Namespaces
Kubernetes has no native way to share a ConfigMap or Secret across namespaces. Replikate is a small BSD-licensed controller that fixes that: annotate a source object, and it keeps synced copies in every namespace you select, including ones that don't exist yet.
uBixCore: Building an Open-Source PHP Monorepo Framework
Years of building production PHP platforms at scale taught me what a framework should actually look like. uBixCore is that framework, open-sourced, and Sowing.me is the proof it works.