Skip to content
Snippets Groups Projects
Commit 90de93e2 authored by Rostislav Vatolin [SLB]'s avatar Rostislav Vatolin [SLB]
Browse files

Merge branch 'setup-autosclaing' into 'master'

Add memory limits

Closes #14

See merge request !151
parents 0a50be1e 42133b26
No related branches found
No related tags found
1 merge request!151Add memory limits
Pipeline #69272 failed
......@@ -16,3 +16,10 @@ image:
tag: #{Build.SourceVersion}#
istioDnsHost: #{ISTIO_DNS_HOST}#
env: #{ENVIRONMENT_NAME}#
featureFlag:
resourceLimits:
enabledEnvs:
- demo
......@@ -48,8 +48,14 @@ spec:
resources:
requests:
cpu: "100m"
{{- if has .Values.env .Values.featureFlag.resourceLimits.enabledEnvs }}
memory: "1500Mi"
{{- end }}
limits:
cpu: "500m"
{{- if has .Values.env .Values.featureFlag.resourceLimits.enabledEnvs }}
memory: "3000Mi"
{{- end }}
readinessProbe:
httpGet:
path: /actuator/health
......
......@@ -22,4 +22,11 @@ image:
branch: master
tag: latest
istioDnsHost: ""
\ No newline at end of file
istioDnsHost: ""
env: demo
featureFlag:
resourceLimits:
enabledEnvs:
- demo
\ No newline at end of file
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