From bbf5ace9bc36e8a4772efa02b29777530f5dcff3 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 23 Nov 2018 16:45:04 +0100 Subject: 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 --- kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kubernetes/pomba/charts') 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 }} -- cgit 1.2.3-korg