HOMELAB-473: perf(forgejo-runner): persistent Docker cache + resource bump #96

Merged
aaron merged 1 commit from plane/HOMELAB-473-runner-cache into live 2026-03-28 04:59:48 +00:00
Owner

Summary

  • Replace emptyDir with 30Gi Longhorn PVC for /var/lib/docker — Docker layer cache survives pod restarts
  • Increase DinD container resources: 1 CPU / 1Gi → 4 CPU / 4Gi limits for better build parallelism

Impact

Docker layer cache is now persistent. Combined with the lab-director PR (cache mount + no prune -af), builds should drop from 15+ min to 2-3 min for code-only changes.

Test plan

  • ArgoCD syncs the new PVC + deployment changes
  • Runner pod restarts and re-registers
  • Docker cache persists across pod restarts
  • kubectl get pvc -n forgejo-runner shows Bound PVC
## Summary - Replace `emptyDir` with 30Gi Longhorn PVC for `/var/lib/docker` — Docker layer cache survives pod restarts - Increase DinD container resources: 1 CPU / 1Gi → 4 CPU / 4Gi limits for better build parallelism ## Impact Docker layer cache is now persistent. Combined with the lab-director PR (cache mount + no prune -af), builds should drop from 15+ min to 2-3 min for code-only changes. ## Test plan - [ ] ArgoCD syncs the new PVC + deployment changes - [ ] Runner pod restarts and re-registers - [ ] Docker cache persists across pod restarts - [ ] `kubectl get pvc -n forgejo-runner` shows Bound PVC
HOMELAB-473: perf(forgejo-runner): persistent Docker cache and resource bump
Some checks failed
0/0 projects applied successfully.
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / pr-title (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
7250f36ef7
- Replace emptyDir with 30Gi Longhorn PVC for /var/lib/docker — Docker layer
  cache now survives pod restarts
- Increase DinD resources: 1 CPU / 1Gi request, 4 CPU / 4Gi limit — allows
  Go compiler and npm to use more parallelism during builds

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aaron merged commit 510a0b7ce4 into live 2026-03-28 04:59:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!96
No description provided.