223e023b28f9814ac679bba260899afa7b2a845e
[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   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     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
35
36 #################################################################
37 # Application configuration defaults.
38 #################################################################
39 # application image
40 repository: nexus3.onap.org:10001
41 image: onap/sdc-cassandra:1.9.3
42 cassandraInitImage: onap/sdc-cassandra-init:1.9.3
43 pullPolicy: Always
44
45 config:
46   release: latest
47   maxHeapSize: "1536M"
48   heapNewSize: "512M"
49
50 #environment file
51 env:
52   name: AUTO
53
54 # default number of instances
55 replicaCount: 1
56
57 nodeSelector: {}
58
59 affinity: {}
60
61 # probe configuration parameters
62 liveness:
63   initialDelaySeconds: 60
64   periodSeconds: 10
65   # necessary to disable liveness probe when setting breakpoints
66   # in debugger so K8s doesn't restart unresponsive container
67   enabled: true
68
69 readiness:
70   initialDelaySeconds: 120
71   periodSeconds: 10
72
73 service:
74   type: ClusterIP
75   name: sdc-cs
76   portName: sdc-cs
77   externalPort: 9042
78   internalPort: 9042
79
80
81 ## Persist data to a persitent volume
82 persistence:
83   enabled: true
84
85   ## A manually managed Persistent Volume and Claim
86   ## Requires persistence.enabled: true
87   ## If defined, PVC must be created manually before volume will be bound
88   # existingClaim:
89   volumeReclaimPolicy: Retain
90
91   ## database data Persistent Volume Storage Class
92   ## If defined, storageClassName: <storageClass>
93   ## If set to "-", storageClassName: "", which disables dynamic provisioning
94   ## If undefined (the default) or set to null, no storageClassName spec is
95   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
96   ##   GKE, AWS & OpenStack)
97   ##
98   # storageClass: "-"
99   accessMode: ReadWriteOnce
100   size: 2Gi
101   mountPath: /dockerdata-nfs
102   mountSubPath: /sdc/sdc-cs/CS
103
104 ingress:
105   enabled: false
106
107 #Pods Service Account
108 serviceAccount:
109   nameOverride: sdc-cs
110   roles:
111     - read