Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[DCAEGEN2] Update cm-container and consul-loader"
[oom.git]
/
kubernetes
/
portal
/
components
/
portal-cassandra
/
templates
/
deployment.yaml
diff --git
a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml
b/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml
index
84a78ab
..
39cd029
100644
(file)
--- 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
{{/*
# 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.
#
# 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"
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
volumeMounts:
- mountPath: /etc/localtime
name: localtime