summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-cs/templates/job.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-10-12 13:10:53 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-10-18 14:56:44 +0200
commit891eeb77f57dcb28db018fab84ece4b46758a162 (patch)
tree7d44ecec00ff21264fa0fad88196b9d3ccf33b35 /kubernetes/sdc/components/sdc-cs/templates/job.yaml
parent11a7c5036e8d5b7e4c9bf3c2d0c06dc0ebef9ba8 (diff)
[CASSANDRA] Add Reaper and Stargate label checked by SDC/AAI
Schema creations of Reaper and AAI/SDC can conflict with each other. Therefor the reaper init script should finish before AAI and SDC schema init scripts are started Update jvm options for cassandra instance Issue-ID: OOM-3246 Change-Id: I16cea161fc8b75e15c76c4cbe4851739782dfb06 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/sdc/components/sdc-cs/templates/job.yaml')
-rw-r--r--kubernetes/sdc/components/sdc-cs/templates/job.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/sdc/components/sdc-cs/templates/job.yaml b/kubernetes/sdc/components/sdc-cs/templates/job.yaml
index 3738ff4a22..80820544d8 100644
--- a/kubernetes/sdc/components/sdc-cs/templates/job.yaml
+++ b/kubernetes/sdc/components/sdc-cs/templates/job.yaml
@@ -36,9 +36,9 @@ spec:
args:
- --app-name
{{- if .Values.global.sdc_cassandra.localCluster }}
- - sdc-cs
+ - {{ ternary "sdc-cs-reaper" "sdc-cs" .Values.global.sdc_cassandra.useOperator }}
{{- else }}
- - cassandra
+ - {{ ternary "cassandra-reaper" "cassandra" .Values.global.sdc_cassandra.useOperator }}
{{- end }}
- "-t"
- "15"