Files
foxhunt/infra/k8s/argo/sccache-pvcs.yaml
jgrusewski bcde1c2a95 infra(ci): replace MinIO sccache with local RWO PVCs
Switch sccache backend from S3 (MinIO) to persistent local storage.
Two 20Gi PVCs (sccache-cpu, sccache-cuda) on scw-bssd-retain eliminate
network I/O for cache reads/writes. Both compile steps always run on
the same node so RWO is sufficient.

Removes 13 S3 env vars per compile step, replaces with SCCACHE_DIR=/sccache.
Updates ci-pipeline-template, compile-and-train-template, kustomization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:25:44 +01:00

33 lines
691 B
YAML

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