[SDC] Update SDC docker images to 1.11.6
[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     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
40 #Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster
41 cassandra:
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
52 # application image
53 repository: nexus3.onap.org:10001
54 image: onap/sdc-cassandra:1.11.6
55 cassandraInitImage: onap/sdc-cassandra-init:1.11.6
56 pullPolicy: Always
57
58 config:
59   release: latest
60   maxHeapSize: "1536M"
61   heapNewSize: "512M"
62
63 #environment file
64 env:
65   name: AUTO
66
67 # default number of instances
68 replicaCount: 1
69
70 nodeSelector: {}
71
72 affinity: {}
73
74 # probe configuration parameters
75 liveness:
76   initialDelaySeconds: 60
77   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
82 readiness:
83   initialDelaySeconds: 120
84   periodSeconds: 10
85
86 service:
87   type: ClusterIP
88   name: sdc-cs
89   portName: sdc-cs
90   externalPort: 9042
91   internalPort: 9042
92
93
94 ## Persist data to a persitent volume
95 persistence:
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: "-"
112   accessMode: ReadWriteOnce
113   size: 2Gi
114   mountPath: /dockerdata-nfs
115   mountSubPath: /sdc/sdc-cs/CS
116
117 ingress:
118   enabled: false
119
120 #Pods Service Account
121 serviceAccount:
122   nameOverride: sdc-cs
123   roles:
124     - read
125
126 wait_for_job_container:
127   containers:
128     - '{{ include "common.name" . }}-job'