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