Code Agency

#kubernetes

17 articles tagged kubernetes.

18 min read

The tab had been open since Tuesday: what a deploy does to a client already running

Everybody who loaded the dispatch board after the 14:20 deploy was fine. The two people who hadn't reloaded since Tuesday morning got a white screen and a save that silently didn't happen. Version skew, why lazily loaded code is the fuse, what `deploymentId` actually fixes, and why the reload was never the hard part.

nextjsdevopskubernetesfrontendarchitecture
14 min read

Nine failed requests, every Tuesday at 14:10: what a rolling update actually drops

Kubernetes reports the rollout as successful, and it is — the guarantee is about pod counts, not about the requests that were in flight. Why a well-behaved process that exits promptly on SIGTERM is the worst kind, what the preStop window is really for, and the four timeouts that have to agree before 'zero downtime' means anything.

kubernetesdevopsreliabilityperformance
18 min read

Refresh twice and it comes back: the Next.js cache that isn't shared between your pods

A discontinued article disappeared from the catalogue for one colleague and stayed visible for the next, because the cache Vercel runs for you is a per-process detail the moment you self-host. What revalidateTag actually reaches, what a shared cache handler costs you in exchange, and why our own answer is still one replica.

nextjskubernetescachingdevopsarchitecture
14 min read

One login for the whole stack: OIDC on the tools you already self-host

Every self-hosted tool ships its own user table, and a leaver has to be removed from all of them. The identity provider we put in front of Grafana, Metabase, ArgoCD and the custom apps — which parts map cleanly, why Odoo is the awkward one, and what you owe the thing once everything depends on it.

securitydevopskubernetesarchitecture
17 min read

The staging environment lie: why PR previews replaced ours

One shared staging server is always broken, always blocked and always stale — and every fix for that is really a fix for it being shared. What it takes to give each pull request a real environment instead: the database copy, the seed nobody owns, the integrations that must fail closed, and the teardown that is the whole point.

devopskubernetestestinggitops
4 min read

Restore drills: the monthly ritual that makes backups real

A backup nobody has restored is a hypothesis, not a plan. The monthly drill we run against Velero snapshots, Postgres dumps and filestore syncs — and what it's already caught before a client ever noticed.

kubernetesdevopsbackupsdisaster-recovery
6 min read

CloudNativePG in production: Postgres on Kubernetes without fear

Four years running CloudNativePG under ERPs and web apps: declarative failover, WAL-archived backups and major-version upgrades as config, not 3 AM SSH sessions. The gotchas to plan for, and where we'd still reach for something else.

postgresqlkubernetesdevops