Skip to content
Snippets Groups Projects
Commit cb979540 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

do not request that many resources for review apps

parent 791c16f4
No related branches found
No related tags found
1 merge request!2180Development
......@@ -57,8 +57,26 @@ ingress:
secretName: metager-tls-otherdomains
autoscaling:
maxReplicas: 5
minReplicas: 2
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
resources:
requests:
fpm:
cpu: 1
memory: 500M
scheduler:
cpu: 100m
memory: 100M
worker:
cpu: 1
memory: 100M
nginx:
cpu: 100m
memory: 100M
redis:
cpu: 100m
memory: 1Gi
......@@ -101,9 +101,8 @@ spec:
periodSeconds: 1
resources:
requests:
cpu: 1
memory: 500M
limits:
{{- toYaml .Values.resources.requests.fpm | nindent 14 }}
limits: {}
- name: scheduler
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
......@@ -146,9 +145,8 @@ spec:
port: http
resources:
requests:
cpu: 100m
memory: 100M
limits:
{{- toYaml .Values.resources.requests.scheduler | nindent 14 }}
limits: {}
- name: worker
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
......@@ -182,8 +180,7 @@ spec:
port: http
resources:
requests:
cpu: 1
memory: 100M
{{- toYaml .Values.resources.requests.worker | nindent 14 }}
limits:
- name: nginx
securityContext:
......@@ -210,9 +207,8 @@ spec:
periodSeconds: 1
resources:
requests:
cpu: 100m
memory: 100M
limits:
{{- toYaml .Values.resources.requests.nginx | nindent 14 }}
limits: {}
- name: redis
image: "{{ template "redis_image" . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
......@@ -236,8 +232,7 @@ spec:
initialDelaySeconds: 2
resources:
requests:
cpu: 100m
memory: 1Gi
{{- toYaml .Values.resources.requests.redis | nindent 14 }}
limits:
securityContext:
runAsUser: 999
......
......@@ -106,21 +106,16 @@ ingress:
# - chart-example.local
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
requests:
fpm: {}
scheduler: {}
worker: {}
nginx: {}
redis: {}
autoscaling:
enabled: true
minReplicas: 2
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 85
#targetMemoryUtilizationPercentage: 80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment