Skip to content

Commit

Permalink
Merge pull request #276 from SteveHNH/resource_requests
Browse files Browse the repository at this point in the history
feat: Make cpu/mem requests configurable
  • Loading branch information
Hyperkid123 authored Sep 11, 2023
2 parents 33793c4 + e1aa9d9 commit ac9a021
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions deploy/clowdapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ objects:
cpu: ${CPU_LIMIT}
memory: ${MEMORY_LIMIT}
requests:
cpu: 250m
memory: 256Mi
cpu: ${CPU_REQUESTS}
memory: ${MEMORY_REQUESTS}

# This is a dummy secret to make ephemeral deploy correctly. It will not roll out to stage or prod
# Unless we set "secret" in "managedResourceTypes" in the app-interface saas file.
Expand Down Expand Up @@ -153,6 +153,12 @@ parameters:
- description: memory limit of service
name: MEMORY_LIMIT
value: 512Mi
- description: Cpu requests of service
name: CPU_REQUESTS
value: 250m
- description: Memory requests of service
name: MEMORY_REQUESTS
value: 256Mi
- name: MIN_REPLICAS
value: '3'
- description: Image tag
Expand Down

0 comments on commit ac9a021

Please sign in to comment.