From 84dd94d03fab01e759c622ec9d866d7f40a0b870 Mon Sep 17 00:00:00 2001 From: Daniel Rodowicz Date: Tue, 28 May 2024 12:44:18 -0400 Subject: [PATCH] parameterize importer resource requirements (#2149) Issue: AAH-3190 --- CHANGES/3190.bugfix | 1 + openshift/clowder/clowd-app.yaml | 22 +++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 CHANGES/3190.bugfix diff --git a/CHANGES/3190.bugfix b/CHANGES/3190.bugfix new file mode 100644 index 0000000000..e2ed619813 --- /dev/null +++ b/CHANGES/3190.bugfix @@ -0,0 +1 @@ +Parameterize ansible-test importer resource requirements diff --git a/openshift/clowder/clowd-app.yaml b/openshift/clowder/clowd-app.yaml index 1ebcfc25ce..d22d9975e0 100644 --- a/openshift/clowder/clowd-app.yaml +++ b/openshift/clowder/clowd-app.yaml @@ -317,15 +317,15 @@ objects: - name: IMPORTER_IMAGE_TAG value: ${IMPORTER_IMAGE_TAG} - name: IMPORTER_MEMORY_REQUEST - value: 1Gi + value: ${IMPORTER_MEMORY_REQUEST} - name: IMPORTER_MEMORY_LIMIT - value: 2Gi + value: ${IMPORTER_MEMORY_LIMIT} - name: IMPORTER_CPU_REQUEST - value: 500m + value: ${IMPORTER_CPU_REQUEST} - name: IMPORTER_CPU_LIMIT - value: 1000m + value: ${IMPORTER_CPU_LIMIT} - name: IMPORTER_JOB_TIMEOUT - value: "1800" + value: ${IMPORTER_JOB_TIMEOUT} - name: PULP_REDIS_SSL value: ${REDIS_SSL} - name: ENABLE_SIGNING @@ -471,3 +471,15 @@ parameters: value: 200m - name: PULP_WORKER_CPU_LIMIT value: 500m + +# importer resource requirements +- name: IMPORTER_MEMORY_REQUEST + value: 1Gi +- name: IMPORTER_MEMORY_LIMIT + value: 2Gi +- name: IMPORTER_CPU_REQUEST + value: 500m +- name: IMPORTER_CPU_LIMIT + value: 1000m +- name: IMPORTER_JOB_TIMEOUT + value: "1800"