Skip to content
Snippets Groups Projects
Commit 42133b26 authored by Kelly Zhou's avatar Kelly Zhou Committed by Rostislav Vatolin [SLB]
Browse files

Add memory limits

parent 0a50be1e
No related branches found
No related tags found
1 merge request!151Add memory limits
......@@ -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