Skip to content

Commit

Permalink
Change CPU/MEMORY limits for clowdapp - ADR46 (#684)
Browse files Browse the repository at this point in the history
Co-authored-by: Fellipe Henrique <[email protected]>
  • Loading branch information
patchkez and fellipeh authored Jan 10, 2025
1 parent afb48ba commit ac599ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .rhcicd/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ objects:
image: ${IMAGE}:${IMAGE_TAG}
resources:
requests:
cpu: ${CPU_REQUEST}
memory: ${MEMORY_REQUEST}
cpu: ${CPU_REQUEST_ENGINE}
memory: ${MEMORY_REQUEST_ENGINE}
limits:
cpu: ${CPU_LIMIT}
memory: ${MEMORY_LIMIT}
cpu: ${CPU_LIMIT_ENGINE}
memory: ${MEMORY_LIMIT_ENGINE}
volumes:
- name: certs
emptyDir: {}
Expand Down Expand Up @@ -100,10 +100,10 @@ parameters:
- name: JAVA_OPTIONS
description: Additional options to JDK runtime
value: "-XX:+ExitOnOutOfMemoryError -Xms128m -Xmx512m"
- name: CPU_LIMIT
- name: CPU_LIMIT_ENGINE
description: CPU limit
value: 250m
- name: CPU_REQUEST
- name: CPU_REQUEST_ENGINE
description: CPU request
value: 125m
- name: ENV_NAME
Expand All @@ -117,10 +117,10 @@ parameters:
value: latest
- name: EXTERNAL_LOGGING_LEVEL
value: INFO
- name: MEMORY_LIMIT
- name: MEMORY_LIMIT_ENGINE
description: Memory limit
value: 1000Mi
- name: MEMORY_REQUEST
- name: MEMORY_REQUEST_ENGINE
description: Memory request
value: 500Mi
- name: MIN_REPLICAS
Expand Down

0 comments on commit ac599ec

Please sign in to comment.