Merge "[SO] Make SO independent of MSB - OOM Changes"
[oom.git] / kubernetes / sdc / components / sdc-cs / values.yaml
1 # Copyright © 2017 Amdocs, AT&T, Bell Canada
2 # Modifications Copyright © 2018  ZTE
3 #
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
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   sdc_cassandra:
25     #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     #in case of using k8ssandra-operator in the common cassandra installation
30     #the service name is:
31     #serviceName: cassandra-dc1-service
32     #in case of local k8ssandra-operator instance it is
33     #serviceName: sdc-cs-dc1-service
34     #in case the older cassandra installation is used:
35     serviceName: cassandra
36
37     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
38     #to match with its own cluster replica
39     replicaCount: 3
40     clusterName: cassandra
41     #datacenter name (use "dc1" in case of k8ssandra-operator, otherwise "Pod")
42     dataCenter: Pod
43     #cqlVersion for cassandra 3.11.* must be "3.4.4" and cassandra 4.* must be "3.4.5"
44     cqlVersion: "3.4.4"
45
46 #################################################################
47 # Application configuration defaults.
48 #################################################################
49
50 #Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster
51 cassandra:
52   nameOverride: sdc-cs
53   replicaCount: 3
54   service:
55     name: sdc-cs
56   serviceAccount:
57     nameOverride: sdc-cs
58   persistence:
59     mountSubPath: sdc/sdc-cs/CS
60     enabled: true
61   k8ssandraOperator:
62     enabled: false
63     config:
64       clusterName: sdc-cs
65
66 # application image
67 repository: nexus3.onap.org:10001
68 image: onap/sdc-cassandra:1.12.5
69 cassandraInitImage: onap/sdc-cassandra-init:1.12.5
70 pullPolicy: Always
71
72 config:
73   release: latest
74   maxHeapSize: "1536M"
75   heapNewSize: "512M"
76
77 #environment file
78 env:
79   name: AUTO
80
81 # default number of instances
82 replicaCount: 1
83
84 nodeSelector: {}
85
86 affinity: {}
87
88 # probe configuration parameters
89 liveness:
90   initialDelaySeconds: 60
91   periodSeconds: 10
92   # necessary to disable liveness probe when setting breakpoints
93   # in debugger so K8s doesn't restart unresponsive container
94   enabled: true
95
96 readiness:
97   initialDelaySeconds: 120
98   periodSeconds: 10
99
100 service:
101   type: ClusterIP
102   name: sdc-cs
103   portName: sdc-cs
104   externalPort: 9042
105   internalPort: 9042
106
107
108 ## Persist data to a persitent volume
109 persistence:
110   enabled: true
111
112   ## A manually managed Persistent Volume and Claim
113   ## Requires persistence.enabled: true
114   ## If defined, PVC must be created manually before volume will be bound
115   # existingClaim:
116   volumeReclaimPolicy: Retain
117
118   ## database data Persistent Volume Storage Class
119   ## If defined, storageClassName: <storageClass>
120   ## If set to "-", storageClassName: "", which disables dynamic provisioning
121   ## If undefined (the default) or set to null, no storageClassName spec is
122   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
123   ##   GKE, AWS & OpenStack)
124   ##
125   # storageClass: "-"
126   accessMode: ReadWriteOnce
127   size: 2Gi
128   mountPath: /dockerdata-nfs
129   mountSubPath: /sdc/sdc-cs/CS
130
131 ingress:
132   enabled: false
133
134 #Pods Service Account
135 serviceAccount:
136   nameOverride: sdc-cs
137   roles:
138     - read
139
140 wait_for_job_container:
141   containers:
142     - '{{ include "common.name" . }}-job'