Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d3293843
Commit
d3293843
authored
Oct 29, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimize the resource requests and limits for Review Apps components
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
ecaede0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
33 deletions
+34
-33
scripts/review_apps/base-config.yaml
scripts/review_apps/base-config.yaml
+34
-33
No files found.
scripts/review_apps/base-config.yaml
View file @
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
:
125
m
cpu
:
230
m
memory
:
2
0
M
memory
:
2
5
M
limits
:
limits
:
cpu
:
250
m
cpu
:
345
m
memory
:
40
M
memory
:
37.5
M
maxReplicas
:
3
maxReplicas
:
3
hpa
:
hpa
:
targetAverageValue
:
130m
targetAverageValue
:
130m
sidekiq
:
sidekiq
:
resources
:
resources
:
requests
:
requests
:
cpu
:
50
0m
cpu
:
65
0m
memory
:
8
0
0M
memory
:
8
8
0M
limits
:
limits
:
cpu
:
1000
m
cpu
:
975
m
memory
:
1
.6G
memory
:
1
320M
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
:
4
00m
cpu
:
5
00m
memory
:
1
.4G
memory
:
1
540M
limits
:
limits
:
cpu
:
80
0m
cpu
:
75
0m
memory
:
2
.8G
memory
:
2
310M
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
:
30
0m
cpu
:
25
0m
memory
:
10
0M
memory
:
5
0M
limits
:
limits
:
cpu
:
600
m
cpu
:
375
m
memory
:
200
M
memory
:
75
M
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
:
355
m
cpu
:
450
m
memory
:
3
00M
memory
:
1
00M
limits
:
limits
:
cpu
:
710
m
cpu
:
675
m
memory
:
60
0M
memory
:
15
0M
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
:
2
50M
memory
:
4
50M
limits
:
limits
:
cpu
:
200m
cpu
:
200m
memory
:
500
M
memory
:
675
M
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
:
25
0m
cpu
:
30
0m
memory
:
25
6
M
memory
:
25
0
M
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment