From 33db402b528748afa1aefcf48c25fc2af7cebe34 Mon Sep 17 00:00:00 2001 From: Konstantin Renner Date: Fri, 24 Apr 2026 11:53:06 +0200 Subject: [PATCH] fix(influxdb-seed): swap emptyDir for ceph-block ephemeral PVC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit emptyDir backs onto node ephemeral-storage. With only ~4.5 GiB free per node, the 10.5 GiB download triggered kubelet eviction (Reason: Evicted, Exit 137) long before the file finished. Generic ephemeral volume claims a 20 GiB RWO PVC on ceph-block for the pod's lifetime — Ceph-backed, auto-deleted with the pod, and won't compete with node-level ephemeral pressure. Bump Job v5 → v6. Co-Authored-By: Claude Opus 4.7 (1M context) --- kubernetes/apps/influxdb-seed/seed-job.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/kubernetes/apps/influxdb-seed/seed-job.yaml b/kubernetes/apps/influxdb-seed/seed-job.yaml index 9ccb8e5b..bf8456bb 100644 --- a/kubernetes/apps/influxdb-seed/seed-job.yaml +++ b/kubernetes/apps/influxdb-seed/seed-job.yaml @@ -18,7 +18,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: influxdb-data-seed-v5 + name: influxdb-data-seed-v6 namespace: influxdb spec: ttlSecondsAfterFinished: 3600 @@ -27,9 +27,19 @@ spec: spec: restartPolicy: Never volumes: + # Generic ephemeral PVC on ceph-block. emptyDir would count against + # node ephemeral-storage (~4.5 GiB free per node → instant eviction + # for a 10 GiB file). The PVC is created with the pod and deleted + # when the pod terminates. - name: scratch - emptyDir: - sizeLimit: 15Gi + ephemeral: + volumeClaimTemplate: + spec: + accessModes: ["ReadWriteOnce"] + storageClassName: ceph-block + resources: + requests: + storage: 20Gi containers: - name: seed image: influxdb:2.7.4