summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2018-11-23 16:45:04 +0100
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-11-27 12:57:53 +0000
commitbbf5ace9bc36e8a4772efa02b29777530f5dcff3 (patch)
treeadca1faf3ed6698ca36cd1e2e4e98781d646a1fa /kubernetes
parent6f52da96ee8997a1bb1e239480262e40cbe92849 (diff)
Set resource limits/requests for POMBA data router
Using in POMBA data router resources flavors (small, large and unlimited) set in values.yaml into deployment.yaml Change-Id: I48fcba823b8c23e76432693c91c8ec896d85a0a0 Issue-ID: LOG-857 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml
index 3244a74f1f..cb5c210da9 100644
--- a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml
+++ b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml
@@ -111,6 +111,8 @@ spec:
name: {{ include "common.fullname" . }}-dynamic-policy
- mountPath: /logs/
name: {{ include "common.fullname" . }}-logs
+ resources:
+{{ include "common.resources" . | indent 10 }}
ports:
- containerPort: {{ .Values.service.internalPort }}
{{- if eq .Values.liveness.enabled true }}