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