Skip to content

Commit 74a9336

Browse files
perf: set more reasonable resource requests per a pod
1 parent 91709c0 commit 74a9336

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deployment.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ spec:
4747
imagePullPolicy: Always
4848
resources:
4949
requests:
50-
memory: 2.5Gi
50+
cpu: "1000m" # reserve 1 vCPU per worker
51+
memory: "8Gi" # reserve 8 GiB per worker
5152
limits:
52-
memory: 7.5Gi
53+
cpu: "1000m"
54+
memory: "50Gi" # allow occasional RAM spike
5355
env:
5456
- name: SQS_URL
5557
value: 'sqs://QUEUE_NAME'

0 commit comments

Comments
 (0)