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-search-data/templates | |
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-search-data/templates')
-rw-r--r-- | kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml index fd03c6c92d..0a81e2615d 100644 --- a/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml +++ b/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml @@ -34,6 +34,21 @@ spec: release: {{ .Release.Name }} name: {{ include "common.name" . }} spec: + initContainers: + - command: + - /root/ready.py + args: + - --container-name + - pomba-elasticsearch + 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 containers: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" |