Set resource limits/requests for POMBA data router 31/73431/2
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 23 Nov 2018 15:45:04 +0000 (16:45 +0100)
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Tue, 27 Nov 2018 12:57:53 +0000 (12:57 +0000)
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>
kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml

index 3244a74..cb5c210 100644 (file)
@@ -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 }}