Files
foxhunt/infra/k8s/storage/sccache-pvc.yaml
jgrusewski 51460a3382 perf(ci): switch sccache from S3 to local block storage PVC
- Create 20Gi sccache-pvc (scw-bssd) for fast local cache hits
- Mount at /mnt/sccache in CI build pods via runner helm values
- Use SCCACHE_DIR instead of SCCACHE_BUCKET for check/test jobs
- Kaniko builds keep S3 sccache (can't mount PVCs in Kaniko)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 23:12:34 +01:00

17 lines
332 B
YAML

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: sccache-pvc
namespace: foxhunt
labels:
app.kubernetes.io/name: sccache
app.kubernetes.io/part-of: foxhunt
app.kubernetes.io/component: ci
spec:
storageClassName: scw-bssd
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi