Commit 6bb7fffc authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch...

Merge branch '35171-define-a-guideline-for-review-apps-resources-requests-and-limits-to-avoid-overcommitting' into 'master'

Optimize the resource requests and limits for Review Apps components

Closes #35171

See merge request gitlab-org/gitlab!19324
parents 59606fa8 d3293843
...@@ -14,11 +14,11 @@ gitlab: ...@@ -14,11 +14,11 @@ gitlab:
gitaly: gitaly:
resources: resources:
requests: requests:
cpu: 600m
memory: 200M
limits:
cpu: 1200m cpu: 1200m
memory: 420M memory: 240M
limits:
cpu: 1800m
memory: 360M
persistence: persistence:
size: 10G size: 10G
gitlab-exporter: gitlab-exporter:
...@@ -35,22 +35,22 @@ gitlab: ...@@ -35,22 +35,22 @@ gitlab:
gitlab-shell: gitlab-shell:
resources: resources:
requests: requests:
cpu: 125m cpu: 230m
memory: 20M memory: 25M
limits: limits:
cpu: 250m cpu: 345m
memory: 40M memory: 37.5M
maxReplicas: 3 maxReplicas: 3
hpa: hpa:
targetAverageValue: 130m targetAverageValue: 130m
sidekiq: sidekiq:
resources: resources:
requests: requests:
cpu: 500m cpu: 650m
memory: 800M memory: 880M
limits: limits:
cpu: 1000m cpu: 975m
memory: 1.6G memory: 1320M
task-runner: task-runner:
resources: resources:
requests: requests:
...@@ -62,11 +62,11 @@ gitlab: ...@@ -62,11 +62,11 @@ gitlab:
unicorn: unicorn:
resources: resources:
requests: requests:
cpu: 400m cpu: 500m
memory: 1.4G memory: 1540M
limits: limits:
cpu: 800m cpu: 750m
memory: 2.8G memory: 2310M
deployment: deployment:
readinessProbe: readinessProbe:
initialDelaySeconds: 5 # Default is 0 initialDelaySeconds: 5 # Default is 0
...@@ -75,11 +75,11 @@ gitlab: ...@@ -75,11 +75,11 @@ gitlab:
workhorse: workhorse:
resources: resources:
requests: requests:
cpu: 300m cpu: 250m
memory: 100M memory: 50M
limits: limits:
cpu: 600m cpu: 375m
memory: 200M memory: 75M
readinessProbe: readinessProbe:
initialDelaySeconds: 5 # Default is 0 initialDelaySeconds: 5 # Default is 0
periodSeconds: 15 # Default is 10 periodSeconds: 15 # Default is 10
...@@ -87,11 +87,11 @@ gitlab: ...@@ -87,11 +87,11 @@ gitlab:
gitlab-runner: gitlab-runner:
resources: resources:
requests: requests:
cpu: 355m cpu: 450m
memory: 300M memory: 100M
limits: limits:
cpu: 710m cpu: 675m
memory: 600M memory: 150M
minio: minio:
resources: resources:
requests: requests:
...@@ -108,10 +108,10 @@ nginx-ingress: ...@@ -108,10 +108,10 @@ nginx-ingress:
resources: resources:
requests: requests:
cpu: 100m cpu: 100m
memory: 250M memory: 450M
limits: limits:
cpu: 200m cpu: 200m
memory: 500M memory: 675M
minAvailable: 1 minAvailable: 1
service: service:
enableHttp: false enableHttp: false
...@@ -133,10 +133,11 @@ postgresql: ...@@ -133,10 +133,11 @@ postgresql:
enabled: false enabled: false
resources: resources:
requests: requests:
cpu: 250m cpu: 300m
memory: 256M memory: 250M
limits: limits:
cpu: 500m cpu: 450m
memory: 375M
prometheus: prometheus:
install: false install: false
redis: redis:
...@@ -157,8 +158,8 @@ registry: ...@@ -157,8 +158,8 @@ registry:
minReplicas: 1 minReplicas: 1
resources: resources:
requests: requests:
cpu: 50m
memory: 32M
limits:
cpu: 100m cpu: 100m
memory: 64M memory: 30M
limits:
cpu: 200m
memory: 45M
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment