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

Merge branch 'per-env-limit' into 'master'

Update memory limit setup

See merge request !66
parents 5eb9821d 5af22a59
No related branches found
No related tags found
1 merge request!66Update memory limit setup
Pipeline #68455 failed
......@@ -20,4 +20,11 @@ image:
#tag: v2
#pullPolicy: Always
istioDnsHost: #{ISTIO_DNS_HOST}#
\ No newline at end of file
istioDnsHost: #{ISTIO_DNS_HOST}#
env: #{ENVIRONMENT_NAME}#
featureFlag:
resourceLimits:
enabledEnvs:
- demo
\ No newline at end of file
......@@ -34,6 +34,15 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 80
{{- if has .Values.env .Values.featureFlag.resourceLimits.enabledEnvs }}
resources:
requests:
cpu: "100m"
memory: "500Mi"
limits:
cpu: "1000m"
memory: "1Gi"
{{- end }}
readinessProbe:
httpGet:
path: /api/crs/catalog/swagger-ui.html
......
......@@ -8,4 +8,11 @@ image:
tag: latest
pullPolicy: Always
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