Merge "[HV-VES-STRIMZI] Migrate hv-ves to use strimzi kafka"
[oom.git] / kubernetes / dmaap / components / message-router / components / 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   persistence: {}
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26 # application image
27 image: onap/dmaap/zookeeper:6.1.0
28 pullPolicy: Always
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33
34 # default number of instances
35 replicaCount: 1
36
37 zookeeperServers: 1
38
39 nodeSelector: {}
40
41 nodeAffinity: {}
42
43 affinity: {}
44
45 tolerations: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 60
50   periodSeconds: 20
51   timeoutSeconds: 10
52   # necessary to disable liveness probe when setting breakpoints
53   # in debugger so K8s doesn't restart unresponsive container
54   enabled: true
55
56 readiness:
57   initialDelaySeconds: 60
58   periodSeconds: 20
59   timeoutSeconds: 10
60
61 #Zookeeper properties
62 zkConfig:
63   tickTime: 2000
64   syncLimit: 5
65   initLimit: 20
66   maxClientCnxns: 200
67   autoPurgeSnapRetainCount: 3
68   autoPurgePurgeInterval: 24
69   heapOptions: -Xmx2G -Xms2G
70   kafkaOpts: -Djava.security.auth.login.config=/etc/zookeeper/secrets/jaas/zk_server_jaas.conf -Dzookeeper.kerberos.removeHostFromPrincipal=true -Dzookeeper.kerberos.removeRealmFromPrincipal=true -Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider -Dzookeeper.requireClientAuthScheme=sasl -Dzookeeper.4lw.commands.whitelist=*
71   clientPort: 2181
72
73 jmx:
74   port: 5555
75
76 prometheus:
77   jmx:
78     enabled: false
79     image: solsson/kafka-prometheus-jmx-exporter@sha256
80     imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
81     port: 5556
82
83 jaas:
84   config:
85     zkAdminUser: kafka
86     zkAdminPassword: kafka_secret
87     #zkAdminPasswordExternal= some password
88
89 secrets:
90   - uid: zk-admin
91     type: basicAuth
92     externalSecret: '{{ .Values.jaas.config.zkAdminPasswordExternal}}'
93     login: '{{ .Values.jaas.config.zkAdminUser }}'
94     password: '{{ .Values.jaas.config.zkAdminPassword }}'
95     passwordPolicy: required
96
97 ## Persist data to a persitent volume
98 persistence:
99   enabled: true
100
101   ## A manually managed Persistent Volume and Claim
102   ## Requires persistence.enabled: true
103   ## If defined, PVC must be created manually before volume will be bound
104   # existingClaim:
105   volumeReclaimPolicy: Retain
106
107   ## database data Persistent Volume Storage Class
108   ## If defined, storageClassName: <storageClass>
109   ## If set to "-", storageClassName: "", which disables dynamic provisioning
110   ## If undefined (the default) or set to null, no storageClassName spec is
111   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
112   ##   GKE, AWS & OpenStack)
113   ##
114   # storageClass: "-"
115   accessMode: ReadWriteOnce
116   size: 2Gi
117   mountPath: /dockerdata-nfs
118   mountSubPath: message-router/data-zookeeper
119
120
121 rollingUpdate:
122   maxUnavailable: 1
123 service:
124   type: ClusterIP
125   name: message-router-zookeeper
126   portName: message-router-zookeeper
127   clientPortName: tcp-client
128   clientPort: 2181
129   serverPortName: tcp-server
130   serverPort: 2888
131   leaderElectionPortName: tcp-leader
132   leaderElectionPort: 3888
133
134 ingress:
135   enabled: false
136
137 # Resource Limit flavor -By Default using small
138 flavor: small
139 # Segregation for Different environment (Small and Large)
140 resources:
141   small:
142     limits:
143       cpu: 2000m
144       memory: 4Gi
145     requests:
146       cpu: 500m
147       memory: 1Gi
148   large:
149     limits:
150       cpu: 4000m
151       memory: 8Gi
152     requests:
153       cpu: 1000m
154       memory: 2Gi
155   unlimited: {}
156
157 #Pods Service Account
158 serviceAccount:
159   nameOverride: message-router-zookeeper
160   roles:
161     - read