aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/charts/multicloud-vio/templates
diff options
context:
space:
mode:
authorMukul <mukul.joshi@amdocs.com>2018-09-11 11:42:00 +0000
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-12 14:29:06 +0000
commit62927a13cd4b1457d1ebfbd838a4cba145aa9c98 (patch)
tree74e48b8e2a98ac466efdc421953458c091ce5b6b /kubernetes/multicloud/charts/multicloud-vio/templates
parent908fc8cb12a093a7b81fc4f8a938fafbdd9356d8 (diff)
Resource Limits for multicloud
Issue-ID: OOM-1155 Change-Id: Ie727d224eb0ffbd619b46cf66d765b0b0afd454e Signed-off-by: Mukul <mukul.joshi@amdocs.com>
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-vio/templates')
-rw-r--r--kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml13
1 files changed, 2 insertions, 11 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
index 82804a451e..b555d463c3 100644
--- a/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
+++ b/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
@@ -62,6 +62,8 @@ spec:
- mountPath: /opt/vio/vio/pub/config/log.yml
name: vio-logconfig
subPath: log.yml
+ resources:
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports:
@@ -92,17 +94,6 @@ spec:
name: vio-log
- mountPath: /usr/share/filebeat/data
name: vio-data-filebeat
- resources:
-{{ toYaml .Values.resources | indent 12 }}
- {{- if .Values.nodeSelector }}
- nodeSelector:
-{{ toYaml .Values.nodeSelector | indent 10 }}
- {{- end -}}
- {{- if .Values.affinity }}
- affinity:
-{{ toYaml .Values.affinity | indent 10 }}
- {{- end }}
-
volumes:
- name: vio-log
emptyDir: {}