diff options
author | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-09-19 04:28:55 +0000 |
---|---|---|
committer | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-09-19 04:30:03 +0000 |
commit | 0acf518a4d79ea749aa1eea3368ef2287eb07cc4 (patch) | |
tree | b9d5588e58b9f58038bb867bb4421f98a65931a1 /kubernetes/vnfsdk/templates/deployment.yaml | |
parent | c196546bae5346d162b3fb20de96d9df8fe260ca (diff) |
Resource Limit enablling for VNFSDK
Issue-ID: OOM-1168
Change-Id: I7e0f23159d729621f566837d6273f7f059a29ce1
Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/vnfsdk/templates/deployment.yaml')
-rw-r--r-- | kubernetes/vnfsdk/templates/deployment.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml index 5b6f9237ce..ee779f408f 100644 --- a/kubernetes/vnfsdk/templates/deployment.yaml +++ b/kubernetes/vnfsdk/templates/deployment.yaml @@ -52,6 +52,8 @@ spec: - image: "{{ include "common.repository" . }}/{{ .Values.image }}" imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }} name: {{ include "common.name" . }} + resources: +{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} env: - name: POSTGRES_SERVICE_HOST value: "$(VNFSDK_DBSET_SERVICE_HOST)" |