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