diff options
author | jmac <james.macnider@amdocs.com> | 2018-10-11 12:21:54 +0000 |
---|---|---|
committer | jmac <james.macnider@amdocs.com> | 2018-10-23 13:04:56 +0000 |
commit | af645b57657cdfba0ed9e6167bf74ed17e6e21d1 (patch) | |
tree | 1dd874ac7ac1f63015376d296dc22253df5e132a /kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml | |
parent | fc677231787da26605d9c4d5fb1ecd9ff1150fec (diff) |
Add missing resource limits to POMBA pods
Add missing pod dependencies
Change-Id: Id976b00e6e0d0c325d93f3e3b77b757e2c72b378
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-1465
Diffstat (limited to 'kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml')
-rw-r--r-- | kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml | 14 |
1 files changed, 14 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 ce62679ee0..3244a74f1f 100644 --- a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml +++ b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml @@ -36,6 +36,20 @@ spec: spec: initContainers: - command: + - /root/ready.py + args: + - --container-name + - pomba-search-data + env: + - name: NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + name: {{ include "common.name" . }}-readiness + - command: - /bin/sh - -c - | |