X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fportal%2Fcomponents%2Fportal-cassandra%2Ftemplates%2Fdeployment.yaml;h=39cd0294c8bf20ca9fb39f125976671b17552495;hb=cf8f42f496f9f062964f0b62a4de7ba2ef0a72ee;hp=84a78ab97785dd2133591fe3d63408f466c4ac93;hpb=bb57f3ba34daefe19b63eaf079a8eedef5251d0e;p=oom.git diff --git a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml b/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml index 84a78ab977..39cd0294c8 100644 --- a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml +++ b/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml @@ -1,7 +1,7 @@ {{/* # Copyright (c) 2017 Amdocs, Bell Canada # Modifications Copyright (c) 2018 AT&T -# Modifications Copyright (c) 2020 Nokia +# Modifications Copyright (c) 2020 Nokia, Orange # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -108,6 +108,12 @@ spec: value: rack1 - name: CASSANDRA_ENABLE_RPC value: "true" + {{- if eq "small" .Values.flavor }} + - name: MAX_HEAP_SIZE + value: {{ .Values.resources.small.heap.max }} + - name: HEAP_NEWSIZE + value: {{ .Values.resources.small.heap.new }} + {{- end }} volumeMounts: - mountPath: /etc/localtime name: localtime