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