Skip to content

Commit

Permalink
parameterize importer resource requirements (#2149)
Browse files Browse the repository at this point in the history
Issue: AAH-3190
  • Loading branch information
drodowic authored May 28, 2024
1 parent c52e9b4 commit 84dd94d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGES/3190.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Parameterize ansible-test importer resource requirements
22 changes: 17 additions & 5 deletions openshift/clowder/clowd-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 84dd94d

Please sign in to comment.