blob: d126aecbafc988975d9eced45d91bbf4ffa081d7 [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
28 #The cassandra service name to connect to (default: shared cassandra service)
29 serviceName: cassandra
30 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
31 #to match with its own cluster replica
32 replicaCount: 3
33 clusterName: cassandra
34 dataCenter: Pod
Mandeep Khindaa1047f42018-03-22 02:12:15 +000035
36#################################################################
37# Application configuration defaults.
38#################################################################
Andreas Geisslerfd450c42021-12-10 08:36:45 +000039
40#Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster
41cassandra:
42 nameOverride: sdc-cs
43 replicaCount: 3
44 service:
45 name: sdc-cs
46 serviceAccount:
47 nameOverride: sdc-cs
48 persistence:
49 mountSubPath: sdc/sdc-cs/CS
50 enabled: true
51
Mandeep Khindaa1047f42018-03-22 02:12:15 +000052# application image
53repository: nexus3.onap.org:10001
MichaelMorris687f5282022-08-10 16:13:25 +010054image: onap/sdc-cassandra:1.11.6
55cassandraInitImage: onap/sdc-cassandra-init:1.11.6
Mandeep Khindaa1047f42018-03-22 02:12:15 +000056pullPolicy: Always
57
Mandeep Khinda403c1c12018-04-19 23:15:43 +000058config:
59 release: latest
60 maxHeapSize: "1536M"
61 heapNewSize: "512M"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000062
ChrisC742a7b22020-09-04 11:29:57 +020063#environment file
64env:
65 name: AUTO
66
Mandeep Khindaa1047f42018-03-22 02:12:15 +000067# default number of instances
68replicaCount: 1
69
70nodeSelector: {}
71
72affinity: {}
73
74# probe configuration parameters
75liveness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000076 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000077 periodSeconds: 10
78 # necessary to disable liveness probe when setting breakpoints
79 # in debugger so K8s doesn't restart unresponsive container
80 enabled: true
81
82readiness:
Tomasz Golabek33658002019-05-30 08:59:39 +020083 initialDelaySeconds: 120
Mandeep Khindaa1047f42018-03-22 02:12:15 +000084 periodSeconds: 10
85
86service:
87 type: ClusterIP
88 name: sdc-cs
BorislavG1ffbd992018-04-24 07:56:27 +000089 portName: sdc-cs
shrek2000f336f6d2020-02-25 16:11:26 +020090 externalPort: 9042
91 internalPort: 9042
Mandeep Khindaa1047f42018-03-22 02:12:15 +000092
93
94## Persist data to a persitent volume
95persistence:
96 enabled: true
97
98 ## A manually managed Persistent Volume and Claim
99 ## Requires persistence.enabled: true
100 ## If defined, PVC must be created manually before volume will be bound
101 # existingClaim:
102 volumeReclaimPolicy: Retain
103
104 ## database data Persistent Volume Storage Class
105 ## If defined, storageClassName: <storageClass>
106 ## If set to "-", storageClassName: "", which disables dynamic provisioning
107 ## If undefined (the default) or set to null, no storageClassName spec is
108 ## set, choosing the default provisioner. (gp2 on AWS, standard on
109 ## GKE, AWS & OpenStack)
110 ##
111 # storageClass: "-"
Sylvain Desbureaux71a9fb32019-09-02 15:50:28 +0200112 accessMode: ReadWriteOnce
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000113 size: 2Gi
114 mountPath: /dockerdata-nfs
115 mountSubPath: /sdc/sdc-cs/CS
116
117ingress:
118 enabled: false
farida azmy1383b4c2021-04-06 12:33:31 +0200119
120#Pods Service Account
121serviceAccount:
122 nameOverride: sdc-cs
123 roles:
124 - read
othman touijer2b764d02022-01-05 14:40:37 +0100125
126wait_for_job_container:
127 containers:
128 - '{{ include "common.name" . }}-job'