Originally published at woitzik.dev
My Proxmox host was writing about 16 MB/s to its only NVMe, around the clock, and the source was one k3s VM. Inside that VM it was the Trivy Operator. Its scan jobs never finished: each one failed with unable to initialize fs cache: cache may be in use by another process: timeout , retried, downloaded the Trivy DB again, pulled the image layers again, and failed again. On a single DRAM-less NVMe that was enough to push write latency to around 200 ms, time out the k3s API server and a kubelet, and set off a container restart storm. The fix was replicas: 0 in Git. Scaling to zero with kubectl had already failed once, two months earlier, because ArgoCD put the replica back.
View the complete homelab infrastructure source on GitHub
The Hardware Constraint
Everything in my homelab runs on one Proxmox host with one DRAM-less consumer NVMe (ADR-034). There is no second disk to move noisy jobs onto.…