From 00446aeeb74777bd371986ee79cbff3567f42945 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Fri, 3 Apr 2026 22:01:46 +0200 Subject: [PATCH] fix: fxcache to /workspace/ (PVC is read-only, workspace is emptyDir writable) Co-Authored-By: Claude Opus 4.6 (1M context) --- infra/k8s/argo/compile-and-train-template.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infra/k8s/argo/compile-and-train-template.yaml b/infra/k8s/argo/compile-and-train-template.yaml index b493ab386..060c3c589 100644 --- a/infra/k8s/argo/compile-and-train-template.yaml +++ b/infra/k8s/argo/compile-and-train-template.yaml @@ -63,7 +63,7 @@ spec: - name: trades-data-dir value: /data/futures-baseline-trades - name: feature-cache-dir - value: /data/feature-cache + value: /workspace/feature-cache - name: tx-cost-bps value: "0.1" - name: tick-size @@ -302,11 +302,12 @@ spec: echo "ERROR: precompute_features not found in /workspace/bin/" exit 1 fi + # Write to /workspace/ (writable emptyDir) — /data/ PVC is read-only $BINARY \ --data-dir /data/futures-baseline \ --mbp10-data-dir /data/futures-baseline-mbp10 \ --trades-data-dir /data/futures-baseline-trades \ - --output-dir /data/feature-cache \ + --output-dir /workspace/feature-cache \ --symbol ES.FUT \ --yes volumeMounts: