blob: 2c896ea77f4ccb2e73c2bb1be1456234e4f26cc5 [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, AT&T, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khindaa1047f42018-03-22 02:12:15 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Andreas Geisslerfd450c42021-12-10 08:36:45 +000024 sdc_cassandra:
ChrisC742a7b22020-09-04 11:29:57 +020025 #This flag allows SDC to instantiate its own cluster, serviceName
26 #should be sdc-cs if this flag is enabled
27 localCluster: false
Andreas Geisslercfd84342023-08-16 17:18:49 +020028
29 # in case of a local cassandra cluster
30 # flag to enable the DB creation via k8ssandra-operator
31 useOperator: true
32 # if useOperator set to "true", set "enableServiceAccount to "false"
33 # as the SA is created by the Operator
34 enableServiceAccount: false
35
ChrisC742a7b22020-09-04 11:29:57 +020036 #The cassandra service name to connect to (default: shared cassandra service)
dasarathi52802465e8f782023-05-03 09:51:20 +000037 #in case of using k8ssandra-operator in the common cassandra installation
38 #the service name is:
Andreas Geisslere5f91562023-07-10 14:31:00 +020039 serviceName: cassandra-dc1-service
dasarathi52802465e8f782023-05-03 09:51:20 +000040 #in case of local k8ssandra-operator instance it is
41 #serviceName: sdc-cs-dc1-service
42 #in case the older cassandra installation is used:
Andreas Geisslere5f91562023-07-10 14:31:00 +020043 #serviceName: cassandra
dasarathi52802465e8f782023-05-03 09:51:20 +000044
ChrisC742a7b22020-09-04 11:29:57 +020045 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
46 #to match with its own cluster replica
47 replicaCount: 3
48 clusterName: cassandra
dasarathi52802465e8f782023-05-03 09:51:20 +000049 #datacenter name (use "dc1" in case of k8ssandra-operator, otherwise "Pod")
Andreas Geisslere5f91562023-07-10 14:31:00 +020050 dataCenter: dc1
Andreas Geisslerc4851c82024-02-23 09:06:17 +010051 #cqlVersion for cassandra 3.11.* must be "3.4.4" and cassandra 4.0.* must be "3.4.5"
52 #and cassandra 4.1.* must be "3.4.6"
53 cqlVersion: "3.4.6"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000054
55#################################################################
56# Application configuration defaults.
57#################################################################
Andreas Geisslerfd450c42021-12-10 08:36:45 +000058
59#Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster
60cassandra:
61 nameOverride: sdc-cs
62 replicaCount: 3
63 service:
64 name: sdc-cs
65 serviceAccount:
66 nameOverride: sdc-cs
67 persistence:
68 mountSubPath: sdc/sdc-cs/CS
69 enabled: true
dasarathi52802465e8f782023-05-03 09:51:20 +000070 k8ssandraOperator:
dasarathi52802465e8f782023-05-03 09:51:20 +000071 config:
72 clusterName: sdc-cs
Andreas Geisslerfd450c42021-12-10 08:36:45 +000073
Mandeep Khindaa1047f42018-03-22 02:12:15 +000074# application image
75repository: nexus3.onap.org:10001
MichaelMorrisf2833882023-10-11 12:04:52 +010076image: onap/sdc-cassandra:1.13.6
77cassandraInitImage: onap/sdc-cassandra-init:1.13.6
Mandeep Khindaa1047f42018-03-22 02:12:15 +000078pullPolicy: Always
79
Mandeep Khinda403c1c12018-04-19 23:15:43 +000080config:
81 release: latest
82 maxHeapSize: "1536M"
83 heapNewSize: "512M"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000084
ChrisC742a7b22020-09-04 11:29:57 +020085#environment file
86env:
87 name: AUTO
88
Mandeep Khindaa1047f42018-03-22 02:12:15 +000089# default number of instances
90replicaCount: 1
91
92nodeSelector: {}
93
94affinity: {}
95
96# probe configuration parameters
97liveness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000098 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000099 periodSeconds: 10
100 # necessary to disable liveness probe when setting breakpoints
101 # in debugger so K8s doesn't restart unresponsive container
102 enabled: true
103
104readiness:
Tomasz Golabek33658002019-05-30 08:59:39 +0200105 initialDelaySeconds: 120
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000106 periodSeconds: 10
107
108service:
109 type: ClusterIP
110 name: sdc-cs
BorislavG1ffbd992018-04-24 07:56:27 +0000111 portName: sdc-cs
shrek2000f336f6d2020-02-25 16:11:26 +0200112 externalPort: 9042
113 internalPort: 9042
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000114
115
116## Persist data to a persitent volume
117persistence:
118 enabled: true
119
120 ## A manually managed Persistent Volume and Claim
121 ## Requires persistence.enabled: true
122 ## If defined, PVC must be created manually before volume will be bound
123 # existingClaim:
124 volumeReclaimPolicy: Retain
125
126 ## database data Persistent Volume Storage Class
127 ## If defined, storageClassName: <storageClass>
128 ## If set to "-", storageClassName: "", which disables dynamic provisioning
129 ## If undefined (the default) or set to null, no storageClassName spec is
130 ## set, choosing the default provisioner. (gp2 on AWS, standard on
131 ## GKE, AWS & OpenStack)
132 ##
133 # storageClass: "-"
Sylvain Desbureaux71a9fb32019-09-02 15:50:28 +0200134 accessMode: ReadWriteOnce
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000135 size: 2Gi
136 mountPath: /dockerdata-nfs
137 mountSubPath: /sdc/sdc-cs/CS
138
139ingress:
140 enabled: false
farida azmy1383b4c2021-04-06 12:33:31 +0200141
142#Pods Service Account
143serviceAccount:
144 nameOverride: sdc-cs
145 roles:
146 - read
othman touijer2b764d02022-01-05 14:40:37 +0100147
148wait_for_job_container:
149 containers:
150 - '{{ include "common.name" . }}-job'