Skip to content

Commit

Permalink
fix(HMS-2002): fix memory request limits
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Zapletal <[email protected]>
  • Loading branch information
lzap authored and adiabramovitch committed Jun 29, 2023
1 parent f4ff1a0 commit 69024fb
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ objects:
value: ${APP_CACHE_TYPE}
resources:
limits:
cpu: ${{CPU_LIMIT_SMALL}}
memory: ${MEMORY_LIMIT_SMALL}
cpu: ${{CPU_LIMIT}}
memory: ${MEMORY_LIMIT}
requests:
cpu: ${CPU_REQUESTS}
memory: ${MEMORY_REQUESTS}
Expand Down Expand Up @@ -241,8 +241,8 @@ objects:
value: ${APP_CACHE_TYPE}
resources:
limits:
cpu: ${{CPU_LIMIT_SMALL}}
memory: ${MEMORY_LIMIT_SMALL}
cpu: ${{CPU_LIMIT}}
memory: ${MEMORY_LIMIT}
requests:
cpu: ${CPU_REQUESTS}
memory: ${MEMORY_REQUESTS}
Expand Down Expand Up @@ -478,24 +478,18 @@ parameters:
- description: ClowdEnv Name
name: ENV_NAME
required: true
- description: CPU limit of api and worker services
name: CPU_LIMIT
value: 500m
- description: CPU limit of statuser and stats services
name: CPU_LIMIT_SMALL
value: 300m
- description: CPU request increment
- description: CPU request for each pod (placement)
name: CPU_REQUESTS
value: 100m
- description: Memory limit of api and worker services
name: MEMORY_LIMIT
value: 400m
- description: Memory limit of statuser and stats services
name: MEMORY_LIMIT_SMALL
value: 300m
- description: Memory request increment
- description: Memory request for each pod (placement)
name: MEMORY_REQUESTS
value: 100Mi
- description: CPU limit for each pod (throttling)
name: CPU_LIMIT
value: 500m
- description: Memory limit for each pod (pod restart)
name: MEMORY_LIMIT
value: 600Mi
- description: Image tag
name: IMAGE_TAG
required: true
Expand Down

0 comments on commit 69024fb

Please sign in to comment.