From 6cab5d021230d91407a4a6eb00db774601f18281 Mon Sep 17 00:00:00 2001 From: Evan1oconto Date: Tue, 16 Jul 2024 09:26:56 -0400 Subject: [PATCH] ephemeralStorage options missing in pega installer image (#775) * BUG-872590 added ephemeralStorage options in pega installer image * BUG-872590 setting defaults to ephemeralStorage * BUG-872590 fixing indentation * BUG-872590 fixing default value * BUG-872590 fixing default value * BUG-872590 fixing default value --------- Co-authored-by: locoe --- .../pega/charts/installer/templates/_pega-installer-job.tpl | 2 ++ charts/pega/charts/installer/values.yaml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/pega/charts/installer/templates/_pega-installer-job.tpl b/charts/pega/charts/installer/templates/_pega-installer-job.tpl index 9e025365f..475c60438 100644 --- a/charts/pega/charts/installer/templates/_pega-installer-job.tpl +++ b/charts/pega/charts/installer/templates/_pega-installer-job.tpl @@ -112,9 +112,11 @@ spec: requests: cpu: "{{ .root.Values.resources.requests.cpu }}" memory: "{{ .root.Values.resources.requests.memory }}" + ephemeral-storage: "{{ .root.Values.resources.requests.ephemeralStorage | default "0G" }}" limits: cpu: "{{ .root.Values.resources.limits.cpu }}" memory: "{{ .root.Values.resources.limits.memory }}" + ephemeral-storage: "{{ .root.Values.resources.limits.ephemeralStorage | default "0G" }}" volumeMounts: {{- if .root.Values.installerMountVolumeClaimName }} - name: {{ template "pegaInstallerMountVolume" }} diff --git a/charts/pega/charts/installer/values.yaml b/charts/pega/charts/installer/values.yaml index fb7ad3d1a..579c44dd1 100644 --- a/charts/pega/charts/installer/values.yaml +++ b/charts/pega/charts/installer/values.yaml @@ -83,14 +83,17 @@ upgrade: # Specify automaticResumeEnabled to support resuming rules_upgrade from point of failure. You can use this functionality only when you use "custom" upgradeType. automaticResumeEnabled: "false" -# Memory and CPU settings for installer +# Memory, CPU, and ephemeral storage settings for installer +# Ephemeral storage recommended size is 10G resources: requests: memory: "5Gi" cpu: 1 + # ephemeralStorage: "" limits: memory: "6Gi" cpu: 2 + # ephemeralStorage: "" shareProcessNamespace: false