c0a7450d5ec3fd089854af060410b302067764c8
[oom.git] / kubernetes / dmaap / components / message-router / charts / message-router-zookeeper / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   ubuntuInitRepository: registry.hub.docker.com
26   persistence: {}
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/dmaap/zookeeper:2.0.0
34 pullPolicy: Always
35 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # application configuration
41 config:
42   # gerrit branch where the latest code is checked in
43   gerritBranch: master
44   # gerrit project where the latest code is checked in
45   gerritProject: http://gerrit.onap.org/r/dmaap/messagerouter/messageservice.git
46
47 # default number of instances
48 replicaCount: 3
49
50 nodeSelector: {}
51
52 nodeAffinity: {}
53
54 affinity: {}
55
56 tolerations: {}
57
58 # probe configuration parameters
59 liveness:
60   initialDelaySeconds: 10
61   periodSeconds: 10
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   enabled: true
65
66 readiness:
67   initialDelaySeconds: 10
68   periodSeconds: 10
69
70 #Zookeeper properties
71 zk:
72  initLimit: 5
73  syncLimit: 2
74
75 ## Persist data to a persitent volume
76 persistence:
77   enabled: true
78
79   ## A manually managed Persistent Volume and Claim
80   ## Requires persistence.enabled: true
81   ## If defined, PVC must be created manually before volume will be bound
82   # existingClaim:
83   volumeReclaimPolicy: Retain
84
85   ## database data Persistent Volume Storage Class
86   ## If defined, storageClassName: <storageClass>
87   ## If set to "-", storageClassName: "", which disables dynamic provisioning
88   ## If undefined (the default) or set to null, no storageClassName spec is
89   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
90   ##   GKE, AWS & OpenStack)
91   ##
92   # storageClass: "-"
93   accessMode: ReadWriteMany
94   size: 2Gi
95   mountPath: /dockerdata-nfs
96   mountSubPath: message-router/data-zookeeper
97
98
99 rollingUpdate:
100   maxUnavailable: 1
101 service:
102   type: ClusterIP
103   name: message-router-zookeeper
104   portName: message-router-zookeeper
105   clientPortName: client
106   clientPort: 2181
107   serverPortName: server
108   serverPort: 2888
109   leaderElectionPortName: leader-election
110   leaderElectionPort: 3888
111
112 ingress:
113   enabled: false
114
115 # Resource Limit flavor -By Default using small
116 flavor: small
117 # Segregation for Different environment (Small and Large)
118 resources:
119   small:
120     limits:
121       cpu: 2000m
122       memory: 4Gi
123     requests:
124       cpu: 500m
125       memory: 1Gi
126   large:
127     limits:
128       cpu: 4000m
129       memory: 8Gi
130     requests:
131       cpu: 1000m
132       memory: 2Gi
133   unlimited: {}