Skip to content

Commit

Permalink
set cpu and memory limits as parameters (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
juandspy authored Feb 5, 2024
1 parent e234861 commit 0b553fb
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ objects:
name: dvo-extractor-config
resources:
requests:
cpu: 100m
memory: 256Mi
cpu: ${CPU_REQUEST}
memory: ${MEMORY_REQUEST}
limits:
cpu: 200m
memory: 512Mi
cpu: ${CPU_LIMIT}
memory: ${MEMORY_LIMIT}

kafkaTopics:
- replicas: 16
Expand Down Expand Up @@ -303,3 +303,12 @@ parameters:
required: true
- name: CSE_LOG_STREAM
value: "dvo-extractor"

- name: CPU_LIMIT
value: 200m
- name: MEMORY_LIMIT
value: 512Mi
- name: CPU_REQUEST
value: 100m
- name: MEMORY_REQUEST
value: 256Mi

0 comments on commit 0b553fb

Please sign in to comment.