Nxtgauge GitOps Configuration
Find a file
sync-test bc13ea25d1
All checks were successful
sync-to-github / sync (push) Successful in 42s
fix(forgejo-runner-prune): actually reach buildx cache, bring under gitops management
docker system prune --volumes can never touch the buildx builder's
cache volume - it's attached to a running container, and 'volumes'
prune only removes *unattached* ones. This CronJob ran every 30
minutes for 59 days reporting 'Total reclaimed space: 0B' every
single time while each runner's buildx cache silently grew to
57-98GB (discovered chasing a disk-pressure report on nxtgauge-2/3/4).

Fix: attach the real named builder ('nxtgauge-builder', matching
what CI actually uses) first, then call 'docker buildx prune'
directly, capped at --keep-storage 20GB so it doesn't just regrow
unbounded. Verified live: manually pruned gwsh7 (80%->16% node disk)
and ktst5 (84%->47%), then confirmed the patched CronJob is a true
no-op on an already-clean cache.

Also found and cleaned up (host-level, not gitops - out of band from
k8s): 18 orphaned buildx_buildkit_* containers on nxtgauge-1 from 2
months of ad-hoc 'docker buildx create' calls with no --name reuse,
totally invisible to buildx CLI and unrelated to CI (39.63GB, node
went 76%->50%). Added a daily cron job on that host
(~/.local/bin/docker-cleanup.sh) to keep it from reaccumulating,
since that's the host's standalone Docker daemon, outside k8s/gitops
entirely.

This CronJob + its RBAC (docker-prune-sa/-role/-binding) previously
existed only as manually-applied live objects, not tracked in git -
same pattern as nxtgauge-containerd-cleanup. Adding manifests and
wiring into clusters/production so Flux manages it going forward.
2026-08-16 04:11:21 +05:30
.forgejo/workflows ci: fix secret name for github mirror sync 2026-08-04 01:44:52 +05:30
.github/workflows fix(ci): make sync-to-forgejo tolerate Forgejo-only commits 2026-07-13 22:01:41 +05:30
apps chore(gitops): update users image for 4f1f4f733d5c4a103109f1a94a48cc3ea207eaa5 2026-08-15 17:19:01 +00:00
clusters/production fix(forgejo-runner-prune): actually reach buildx cache, bring under gitops management 2026-08-16 04:11:21 +05:30
docs feat(ai): add AI plans docs, LiteLLM manifests, and infrastructure updates 2026-06-15 06:15:41 +05:30
ops fix(forgejo-runner-prune): actually reach buildx cache, bring under gitops management 2026-08-16 04:11:21 +05:30
scripts fix(ci): add ai-assistant to deployment scripts 2026-07-06 03:49:11 +05:30
.ci-trigger ci: trigger build 2026-07-07 21:52:58 +00:00
.sops.yaml Encrypt all secrets with SOPS, add Flux decryption support, rotate JWT_SECRET/AI_SERVICE_KEY 2026-07-02 17:56:28 +05:30
.test_push test push 2026-06-08 18:13:19 +05:30
OTP_ISSUE_FIX_PROMPT.md chore: remove argocd and standardize on flux 2026-06-11 17:17:42 +05:30
ROUTE_ISSUE_ANALYSIS.md chore: remove argocd and standardize on flux 2026-06-11 17:17:42 +05:30