d163a92ec6ff6653e2cf870aceac7b35e81f80b0
The Buffering middleware was causing 413 on large Docker layer pushes by spooling entire request bodies to disk before forwarding. Docker's chunked blob upload protocol (PATCH/PUT with Content-Range) requires streaming, not buffering. Replace with IngressRoute CRDs + Certificate resources for direct streaming passthrough. responseForwarding.flushInterval=100ms ensures prompt chunk delivery to the registry backend.
infrastructure
Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.
| Doc | What it covers |
|---|---|
AGENTS.md |
Full reference: machines, secrets, services, domains, namespaces, common operations |
servers/legion/README.md |
What's running on Legion and how deployment works |
servers/legion/RUNBOOK.md |
Disaster recovery — full restore from scratch |
Quick start
cd servers/legion
direnv allow
terraform plan
terraform apply
Push to servers/ to deploy app changes via Argo CD.
Languages
HCL
78.4%
Shell
17.5%
Python
2.6%
Dockerfile
1.5%