From 31c76b80b46f8ec5f1b499c239c9dbd926f0d3f4 Mon Sep 17 00:00:00 2001 From: Matt Daily Date: Mon, 2 Dec 2024 07:57:59 -0800 Subject: [PATCH] Make sure we request the correct amount of ephemeral storage emptyDir volumes use node ephemeral storage. Since we have such large emptyDir volumes for these pods, make sure we explicitly request a minimum amount of ephemeral storage so that pods are scheduled on nodes that can handle our storage needs. This is to avoid pod evictions (due to node being low on storage) and random missed reductions. --- helm-chart/banzai/templates/workers-large.yaml | 2 +- helm-chart/banzai/templates/workers.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-chart/banzai/templates/workers-large.yaml b/helm-chart/banzai/templates/workers-large.yaml index cd5419b2..9e0f88e3 100644 --- a/helm-chart/banzai/templates/workers-large.yaml +++ b/helm-chart/banzai/templates/workers-large.yaml @@ -52,7 +52,7 @@ spec: requests: cpu: "0.5" memory: "10Gi" - ephemeral-storage: "128Mi" + ephemeral-storage: "40Gi" limits: cpu: "2" memory: "10Gi" diff --git a/helm-chart/banzai/templates/workers.yaml b/helm-chart/banzai/templates/workers.yaml index 6d4fb60f..bce38553 100644 --- a/helm-chart/banzai/templates/workers.yaml +++ b/helm-chart/banzai/templates/workers.yaml @@ -52,7 +52,7 @@ spec: requests: cpu: "0.5" memory: "4Gi" - ephemeral-storage: "128Mi" + ephemeral-storage: "20Gi" limits: cpu: "2" memory: "8Gi"