commit | 9fcfbce60a052328f92af96be44f9d92cbe8d251 | [log] [tgz] |
---|---|---|
author | rajeshkalai <rajesh.kalaiselvan@amdocs.com> | Thu Sep 20 06:36:28 2018 -0400 |
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | Fri Sep 21 02:52:33 2018 +0000 |
tree | c71d3504f703c61047bf9626102bfe6d1169e2a4 | |
parent | 37cae2542ba41720da3179f5955401fc0ed66184 [diff] [blame] |
Fix: aai resource limits- charts except cassandra Issue-ID: OOM-1147 Change-Id: I438d404b0717b5179857d3226590b28c0372848d Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com> Fix: request -resource limits for aai Issue-ID: OOM-1147 Change-Id: I5898e2c6c6b4c6cc1c302c287b15f5697bf2e36b Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com>
diff --git a/kubernetes/aai/charts/aai-search-data/templates/deployment.yaml b/kubernetes/aai/charts/aai-search-data/templates/deployment.yaml index dffc9cf..e486143 100644 --- a/kubernetes/aai/charts/aai-search-data/templates/deployment.yaml +++ b/kubernetes/aai/charts/aai-search-data/templates/deployment.yaml
@@ -93,7 +93,7 @@ initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} resources: -{{ toYaml .Values.resources | indent 10 }} +{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }}