6eeafccb00d3fa60eaab6f15f461cb0526614cce
[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 affinity: {}
53
54 # probe configuration parameters
55 liveness:
56   initialDelaySeconds: 10
57   periodSeconds: 10
58   # necessary to disable liveness probe when setting breakpoints
59   # in debugger so K8s doesn't restart unresponsive container
60   enabled: true
61
62 readiness:
63   initialDelaySeconds: 10
64   periodSeconds: 10
65
66 #Zookeeper properties
67 zk:
68  initLimit: 5
69  syncLimit: 2
70
71 ## Persist data to a persitent volume
72 persistence:
73   enabled: true
74
75   ## A manually managed Persistent Volume and Claim
76   ## Requires persistence.enabled: true
77   ## If defined, PVC must be created manually before volume will be bound
78   # existingClaim:
79   volumeReclaimPolicy: Retain
80
81   ## database data Persistent Volume Storage Class
82   ## If defined, storageClassName: <storageClass>
83   ## If set to "-", storageClassName: "", which disables dynamic provisioning
84   ## If undefined (the default) or set to null, no storageClassName spec is
85   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
86   ##   GKE, AWS & OpenStack)
87   ##
88   # storageClass: "-"
89   accessMode: ReadWriteMany
90   size: 2Gi
91   mountPath: /dockerdata-nfs
92   mountSubPath: message-router/data-zookeeper
93
94
95 rollingUpdate:
96   maxUnavailable: 1
97 service:
98   type: ClusterIP
99   name: message-router-zookeeper
100   portName: message-router-zookeeper
101   clientPortName: client
102   clientPort: 2181
103   serverPortName: server
104   serverPort: 2888
105   leaderElectionPortName: leader-election
106   leaderElectionPort: 3888
107
108 ingress:
109   enabled: false
110
111 # Resource Limit flavor -By Default using small
112 flavor: small
113 # Segregation for Different environment (Small and Large)
114 resources:
115   small:
116     limits:
117       cpu: 2000m
118       memory: 4Gi
119     requests:
120       cpu: 500m
121       memory: 1Gi
122   large:
123     limits:
124       cpu: 4000m
125       memory: 8Gi
126     requests:
127       cpu: 1000m
128       memory: 2Gi
129   unlimited: {}