Blog

All posts

Blog

Technical deep-dives from building the minicloud platform GitOps, Kubernetes, AI, and bare-metal engineering.

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

I run a simulated insurer's IS on Kubernetes, built as separate services per domain. Then I stopped and asked the uncomfortable question: is that the right architecture, or just the fashionable one? This is the decision I made — modular-monolith-first — and, more usefully, the decision I deliberately did NOT make: building the thing at all, yet.

modular-monolith
microservices
domain-driven-design
Sep 30, 20267 min read
ai-agents
The Engineering Harness: Turning an AI Agent Into a Reliable Colleague on a Real Information System

Everyone is talking about smarter models. Almost nobody talks about the harness — the rules, memory, guardrails and verification loops that sit around the model and decide whether it ships reliable work or plausible garbage. This is the harness I built so an AI agent can operate on the ktayl-solution information system without breaking prod.

agentic-ai
engineering-harness
context-engineering
Sep 29, 202614 min read
backup
3-2-1, Not 1: Why I Kept MinIO Instead of Going Cloud-Only for Backups

It's tempting to delete the backup server and push everything to cheap cloud object storage. On the ktayl-solution platform I decided not to — and an hour later I fat-fingered a bucket delete that proved exactly why. This is the reasoning behind keeping a local MinIO alongside Cloudflare R2, and where the cloud instinct is actually right.

disaster-recovery
minio
cloudflare-r2
Sep 27, 20265 min read
ansible
The Layer Below GitOps: How ~200 Lines of Ansible Keep a Bare-Metal Cluster Reproducible

GitOps reconciles everything inside the cluster — but not the operating system beneath it. This is how minicloud-ansible codifies the node-level prerequisites (iSCSI, multipath, registry mirrors, default routes, CIS hardening) so any node can be reimaged or added with a single idempotent playbook run.

bare-metal
kubernetes
k3s
Sep 19, 20268 min read
kubernetes
Anatomy of a Cascading Kubernetes Outage: When the First Symptom Is Three Layers From the Cause

A disk filled up. Then cluster DNS died. Then storage volumes refused to rebuild. The obvious cause was a symptom — the real culprit was a bloated SQLite write-ahead log starving the storage layer. Here is the full debugging trail, the fix, and the prevention that shipped afterward.

sre
incident-response
post-mortem
Aug 23, 20267 min read
harbor
One Registry to Rule Them All: Harbor as the Single Image Entry Point for a Bare-Metal k3s Cluster

How a self-hosted Harbor instance, configured as a pull-through proxy for docker.io, ghcr.io, quay.io, and registry.k8s.io, becomes the single entry point for all image traffic on a bare-metal k3s cluster — eliminating Docker Hub rate limits, centralizing vulnerability scanning, and keeping air-gap capability without any code changes in your manifests.

kubernetes
docker
registry
Aug 16, 20269 min read
security
Every Non-Human Identity on a Self-Hosted k8s Platform: A Complete Taxonomy

Service accounts, robot accounts, break-glass tokens, OAuth2 client credentials, API keys — a self-hosted Kubernetes platform uses all of them. Here is how they differ, why each one exists, and what happens when you lose track of one.

iam
kubernetes
vault
Aug 16, 20269 min read
kubernetes
Moving Your Kubernetes CA Private Key Into Vault PKI — Without Changing a Single Certificate

How we migrated the minicloud root CA private key from a plaintext Kubernetes secret into HashiCorp Vault's PKI engine — importing the same CA so no certificate had to be re-issued, no trust store had to be updated, and no service saw any disruption.

security
vault
cert-manager
Aug 16, 202613 min read
kubernetes
Bare Metal First, Cloud at the Edge — Our Hybrid Architecture Decision

Most tutorials teach you to deploy on AWS. We went the other way: five bare-metal nodes on the floor, Cloudflare at the edge, and cloud services only where physics makes self-hosting impossible. This is why.

bare-metal
hybrid-cloud
cloudflare
Aug 9, 202610 min read