Skip to content

Commit

Permalink
Increase recommended k8s resource requests / limits (#29457)
Browse files Browse the repository at this point in the history
Changes the recommended k8s resource limits / requests to be more suitable for synthetics.
  • Loading branch information
andrewvc authored Jan 24, 2022
1 parent 61a7d36 commit b462430
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions deploy/kubernetes/heartbeat-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,14 @@ spec:
runAsUser: 0
resources:
limits:
memory: 200Mi
memory: 1536mi
requests:
cpu: 100m
memory: 100Mi
# for synthetics, 2 full cores is a good starting point for relatively consistent perform of a single concurrent check
# For lightweight checks as low as 100m is fine
cpu: 2000m
# A high value like this is encouraged for browser based monitors.
# Lightweight checks use substantially less, even 128Mi is fine for those.
memory: 1536Mi
volumeMounts:
- name: config
mountPath: /etc/heartbeat.yml
Expand Down
10 changes: 7 additions & 3 deletions deploy/kubernetes/heartbeat/heartbeat-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,14 @@ spec:
runAsUser: 0
resources:
limits:
memory: 200Mi
memory: 1536mi
requests:
cpu: 100m
memory: 100Mi
# for synthetics, 2 full cores is a good starting point for relatively consistent perform of a single concurrent check
# For lightweight checks as low as 100m is fine
cpu: 2000m
# A high value like this is encouraged for browser based monitors.
# Lightweight checks use substantially less, even 128Mi is fine for those.
memory: 1536Mi
volumeMounts:
- name: config
mountPath: /etc/heartbeat.yml
Expand Down

0 comments on commit b462430

Please sign in to comment.