Mouve is a fitness app that I build with a fleet of AI agents. Production runs on six rented VMs in Helsinki. Everything else runs on seven machines in my office: CI, the agents, the image registry, the dev environment, the GitOps controller and the monitoring. Two Kubernetes clusters, one network mesh, one ArgoCD.
The whole thing costs about EUR 85 a month to run (running costs only, no hardware purchases; electricity is part of the office rent). This post is not about that number. I covered the hardware and the cost in other posts. This one is about what broke, because joining a rented cluster and a cluster in your own office into one system is mostly a list of ways for the two halves to fail each other.
How it got here
I moved production to Hetzner in December 2025. It started small: the food service on one VPS, deployed over SSH with docker compose. By February the whole app ran on Coolify on that VPS behind a Cloudflare Tunnel, and the web app had left Vercel. In March I moved to Kubernetes, and at the end of April I split the setup into two clusters.
What lives where, and why
The rule I set on 3 August 2026: cloud costs money and survives outages, local hardware is free and does not. So production and the infrastructure that must outlive an office power cut go to Hetzner. Agents, CI, dev and everything non-critical go to the office.
That inverts the usual instinct. The important work goes to the cloud, and not because the cloud is stronger. It is weaker. Production is 3 control planes (2 dedicated vCPU, 8 GB each) and 3 workers (4 shared vCPU, 8 GB each), 18 vCPU and 48 GB of RAM on paper. The office has 160 threads and 369 GB of RAM across 7 machines. Over 30 days the office averaged 27 cores and 169 GB in use, with an hourly p95 of 105 cores. Local hardware has the compute. The cloud has the uptime.
It did not start as two clusters. In March it was one 7-node k3s cluster: three Hetzner VPSes and four homelab machines, joined over a mesh. I split it into two clusters between 28 and 30 April 2026: Hetzner control planes provisioned with OpenTofu, an office cluster bootstrapped, multi-cluster GitOps, a Cilium ClusterMesh.
The network that joins them
The mesh is Headscale, a self-hosted Tailscale coordination server. My first version ran it as a pod in the office cluster, on 18 March. On 1 April I moved it to a systemd service on a Hetzner node, because the pods needed the mesh to start and the mesh was a pod.
Two more things about it. The coordination hostname has to stay DNS-only in Cloudflare: Tailscale's control protocol needs an upgrade header that Cloudflare's proxy strips, so registration fails behind the proxy. And in September I found the Headscale database had no backup and lived on one worker.
Then the layers pile up. Pod traffic is a Cilium VXLAN overlay, which rides the Tailscale WireGuard tunnel, which rides each machine's real uplink. Each layer takes bytes.
MTU. Tailscale's interface is 1280. VXLAN costs 50 bytes. The theoretical pod MTU is 1230, and the measured floor was 1228. Get it wrong and small responses work while anything above a payload threshold hangs until timeout. That is a miserable bug because every health check passes. Both clusters now set 1228 explicitly.
The peer pin that rotted (7 June). Every internal app hosted on Hetzner returned 504, while apps hosted in the office were fine. That asymmetry was the clue. The Hetzner side of the ClusterMesh had pinned one office node's tailnet IP. Office nodes are immutable, and a reprovisioned node gets a new tailnet address, so the pin went stale. Requests reached the pod. The replies could not get home, which is why it was a 504 and not a 502. The fix was to give each side a list of every peer address, so any single node can be reprovisioned.
The tunnel in the tunnel (October). From 1 October the office etcd lost its leader about 39 times an hour. API server p99 went from 46 ms to 2 to 7 seconds, and CI runner listeners crash-looped. The cause: tailscaled was routing its own WireGuard packets into the Cilium overlay, which itself rides the tailnet. The packets looped and flooded the interface that the etcd peer link uses. In September the same loop had pushed two Hetzner control planes to 93% CPU. The fix is a small policy-routing guard on every node of both clusters. My own docs call it a bandage: it stops the loop, but the design still stacks an overlay on an overlay.
One GitOps control plane for two clusters
ArgoCD runs in the office and manages both clusters. That is convenient and it has a cost I will come back to.
My drift story is a lesson in controls that need a human to notice. I created the app-of-apps on 29 August as a detector only: it declared 16 Applications that had never been applied and reported them OutOfSync. Nobody acted on the signal. By 26 September it listed 12 again, and two had just been found missing and hand-applied. I finished the triage that day and turned on sync. The audit found 106 Application manifests in git and 100 live.
The harder class is a field added by hand. On 8 September someone pinned a production rollout to one node with kubectl patch. It survived two weeks of syncs, because a sync never removes a field it does not own, and the Application still read Synced while the cluster ran something git did not say. I now run an out-of-band edit detector, and the rule is that you change git. Two things on production are still applied by hand, and I know which: the Cilium layer and the Typesense StatefulSet.
Secrets and certificates
OpenBao, our secrets manager, runs in the production cluster, because secrets must survive an office outage. The office reads it through the ClusterMesh. It auto-unseals with a cloud KMS, which matters for restores: a raft snapshot carries its seal type, so a restore target with the wrong seal type fails.
On 13 October at 14:38 UTC the wildcard certificate served by the office expired, and every internal site there showed a certificate error. The renewed certificate existed in the cloud cluster. The office copy had been written by hand once, and the renewal pipeline mentioned in the manifests was never built. Worse, the office secrets operator reached OpenBao through a hostname that the office itself served with the expired certificate, so it could not fetch the fix. Two faults, either survivable alone.
The alerts fired for days. Nobody acted, because the alert text said to renew the cert in the cloud cluster, which was already done. The missing piece was automation, not an alarm. The class fix: the cloud cluster pushes every renewal to OpenBao, the office reads through a ClusterMesh service with no certificate in the path, and a new alert fires when the office copy expires earlier than the cloud one.
Backups, the uncomfortable part
- Production Postgres had no backups from 1 May to 28 August 2026. The earlier pipeline was suspended and never replaced. Since 28 August there is an hourly dump, 30 days of retention, and a restore drill that took under 3 minutes. There is still no point-in-time recovery, so worst case is 59 minutes of lost writes.
- Until 28 August the office cluster ran 37 Longhorn volumes with zero backups. That night 32 of them faulted at once. I recovered them by salvage, which was luck and not design. Between 12 and 26 September every volume had a single replica on one consumer SSD, and backups were the only copy.
- On 29 September I moved every bucket except production media off Cloudflare R2, to an S3 gateway in the office. R2 had cost USD 11.66 that September, mostly from Longhorn polling. The price of the move is that my backups now sit on two disks in one host. There is no off-site copy, and the docs say so.
Observability across both
One Prometheus runs in the office and scrapes production. Service discovery goes over the tailnet. The scrapes themselves go pod to pod over the ClusterMesh.
For months that Prometheus saw only node and pod health for production, with no request rate, latency or error rate. The API had carried a ServiceMonitor since 27 April with no Prometheus on its cluster to read it. A second bug hid in plain sight: the production kube-state-metrics series carried a different job name from the office ones, so every default kube-prometheus-stack alert for failed jobs and crash-looping pods selected a label that matched no production series. They could not fire.
The same shape hit on 1 October: production had no memory alert at any threshold, because the stock rules pin the job name node-exporter and the Hetzner nodes were scraped under another name. Before 26 September production had no log retention either: Loki was scaled to zero and the collector shipped to nothing. Production logs now go to a Loki in the production cluster, kept 30 days.
The deploy chain, and today's incident
A merge to main builds once, deploys to dev, runs end-to-end tests, then promotes the same image to production, smokes it, and reverts itself if the smoke fails. There were three environments until 4 September, when I removed staging. A web change now has its own lane, with a measured merge to production of 27 to 45 minutes.
Two ways this chain bit me in November.
17 November: the artifact quota. GitHub Actions artifacts reached 2.89 GB against 2 GB included in our plan. The step that records verified image tags is fail-closed on purpose, so every upload failed and production froze with every gate green. I promoted by hand, one app at a time, and cut artifact retention to 7 days.
18 to 20 November: the swallowed spec path. Production web sat on a build from 18 November 03:51 UTC for about 60 hours. Four promotions in that window were each reverted about seven minutes after they went out. The production landing check ran playwright test --project chromium tests/landing.spec.ts. In Playwright, --project takes several values, so it read our spec path as a second project name and stopped with "Project(s) not found". No test ran, the gate returned blocked, and the revert job did exactly what I built it to do. The visible symptom was a 404 on a new page.
The auto-revert worked. The gate had never been exercised, and a broken test looks the same as a failing one. I fixed the instance on 20 November, then the class: every e2e script now uses --project=NAME, so any argument a caller appends is a test file or a flag. Production serves the new build now (I checked the page that was missing). Neither fix adds an alert for repeated reverts of the same promotion, and that is the gap I would close next.
The incidents, as a list
| Date | What failed | The class fix |
|---|---|---|
| 7 Jun | Cross-cluster 504s after a node reprovision | Peer addresses are lists, not one pinned node |
| 17-18 Jul | An office node died overnight (about 14 hours), taking the registry, dev and CI with it | Stateless apps no longer pinned to a hostname |
| 29 Sep | Hetzner host fault took a worker. Prod 502 | Registry cache with two replicas, DNS answers name no node, memory N+1 |
| 1 Oct | Worker stalled on memory during a search reindex, search down 17 to 24 minutes | Kubelet reserves and eviction thresholds, a MemAvailable alert |
| 2 Oct | Etcd election storm from the tunnel loop | Ip-rule guard on every node |
| 13 Oct | Office wildcard certificate expired | Push renewals, no certificate in the secrets path |
| 17-20 Nov | Artifact quota, then the swallowed spec path | Fewer artifacts, --project=NAME |
The 29 September fault is worth a paragraph. Hetzner reported a fault on the host of one of our two workers at 17:34 UTC. I lost one server and four things broke, because four things treated it as the only one. The two workers used 10.8 GiB together, and one survivor has 7.6. The scheduler saw room that was not there and packed the evicted pods onto it. The image cache had one replica on one volume that could not detach until Hetzner repaired the host. The office DNS pinned the vault hostname to that one node. And Headscale lived there. The first one took production to 502. The third one stopped every secret sync in the office. I added a third worker on 23 October, and a rollout setting that swaps pods in place so a deploy never needs a third pod's headroom.
The running cost
The cost is small partly because of a luck I did not plan for. The three control planes are Hetzner CCX13 servers at a grandfathered EUR 15.99 each. Hetzner's June 2026 price rise took that model to EUR 42.99, but exempted servers already running. A rescale, a delete and recreate, or a new order loses the old price for good, so three servers go from EUR 47.97 to EUR 128.97 a month. I keep them, and the foot-gun is a tofu apply that replaces one. The production side is about EUR 74 a month in total.
For scale, the same footprint priced on public lists in November came out at about EUR 2,600 a month on AWS and EUR 2,450 on Google Cloud, before commitments. That comparison assumes the office hardware is already bought and the office power is free, which is exactly the part a business should not hand-wave.
What I would do differently
- Keep the deploy brain out of the thing that dies. ArgoCD, Harbor and the secrets store's consumers sit in the office. One office node outage on 25 September took Harbor and every internal site down, and every production deploy with them. I now have a pull-through cache on the cloud side and front doors that name no node, but the control plane is still in the office.
- Backups and restore drills before data. I learned this twice, with Postgres and with Longhorn.
- Make every control fail loudly. A detector nobody reads, an alert whose text lists a step already done, a gate that has never run: each had the same shape.
- Never name a node. Hostname pins, IP pins and single-replica volumes caused most of the table above.
- Kubelet reserves on day one. The nodes had no memory reserve and no eviction threshold until 2 October.
- Draw the layers. MTU, the peer pin and the tunnel loop are the same bug: a network built from tunnels carrying tunnels.
When this setup stops making sense
- When an office outage must not stop a production deploy. Today it can.
- When the off-site backup stops being an accepted risk. A customer, an auditor or a bad week will end that.
- When more than one person has to run it. Two clusters and a mesh in one head is the real single point of failure.
- When the office p95 of 105 cores means I need burst capacity more than I need free capacity. Renting a burst is cheaper than racking one.
- When power or rent changes. I pay no separate electricity bill, and the EUR 85 depends on that.
Until then it is a good trade for me: a small production that stays up, and a large workshop that costs nothing extra to run. I have also paid for it in the incidents above, and the table is the honest bill.
Earlier post on the office side: Our CI would cost $1,252 a month on GitHub's runners.