blob: 44259a0fe4a36c6b480198a3f2c5b419c416a196 [file] [log] [blame]
pramodad6382f2018-03-28 22:32:00 +00001# Copyright © 2017 Amdocs, Bell Canada
Durgpal7ad40692018-08-03 07:28:36 +00002# Modifications Copyright © 2018 AT&T
pramodad6382f2018-03-28 22:32:00 +00003#
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#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
pramodad6382f2018-03-28 22:32:00 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Mandeep Khindaca210a92018-05-14 20:55:52 +000024 ubuntuInitRepository: registry.hub.docker.com
pramodad6382f2018-03-28 22:32:00 +000025 persistence: {}
su622be10aee32020-03-10 09:44:35 -040026 envsubstImage: dibi/envsubst
pramodad6382f2018-03-28 22:32:00 +000027
28#################################################################
29# Application configuration defaults.
30#################################################################
31# application image
sunil unnavab96a3912018-12-06 09:50:39 -050032repository: nexus3.onap.org:10001
su622b08f34d92020-03-27 10:23:32 -040033image: onap/dmaap/zookeeper:6.0.3
pramodad6382f2018-03-28 22:32:00 +000034pullPolicy: Always
Mandeep Khindaca210a92018-05-14 20:55:52 +000035ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
sunil.unnava176d2782019-04-15 16:01:38 -040036busyBoxImage: busybox:1.30
37busyBoxRepository: docker.io
pramodad6382f2018-03-28 22:32:00 +000038
39# flag to enable debugging - application support required
40debugEnabled: false
41
pramodad6382f2018-03-28 22:32:00 +000042
43# default number of instances
sunil unnavab96a3912018-12-06 09:50:39 -050044replicaCount: 3
pramodad6382f2018-03-28 22:32:00 +000045
46nodeSelector: {}
47
Matthieu Cauffiezc3d5a562019-03-12 11:07:01 -040048nodeAffinity: {}
49
pramodad6382f2018-03-28 22:32:00 +000050affinity: {}
51
Matthieu Cauffiez767fd662019-03-12 13:47:52 -040052tolerations: {}
53
pramodad6382f2018-03-28 22:32:00 +000054# probe configuration parameters
55liveness:
su622be10aee32020-03-10 09:44:35 -040056 initialDelaySeconds: 40
57 periodSeconds: 20
58 timeoutSeconds: 10
pramodad6382f2018-03-28 22:32:00 +000059 # necessary to disable liveness probe when setting breakpoints
60 # in debugger so K8s doesn't restart unresponsive container
61 enabled: true
62
63readiness:
su622be10aee32020-03-10 09:44:35 -040064 initialDelaySeconds: 40
65 periodSeconds: 20
66 timeoutSeconds: 10
pramodad6382f2018-03-28 22:32:00 +000067
sunil unnavab96a3912018-12-06 09:50:39 -050068#Zookeeper properties
su622be10aee32020-03-10 09:44:35 -040069zkConfig:
70 tickTime: 2000
71 syncLimit: 5
72 initLimit: 10
73 maxClientCnxns: 200
74 autoPurgeSnapRetainCount: 3
75 autoPurgePurgeInterval: 24
76 heapOptions: -Xmx2G -Xms2G
su622b08f34d92020-03-27 10:23:32 -040077 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
su622be10aee32020-03-10 09:44:35 -040078 clientPort: 2181
79
80jmx:
81 port: 5555
82
83prometheus:
84 jmx:
85 enabled: false
86 image: solsson/kafka-prometheus-jmx-exporter@sha256
87 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
88 imageRepository: docker.io
89 port: 5556
90
91jaas:
92 config:
93 zkAdminUser: kafka
94 zkAdminPassword: kafka_secret
95 #zkAdminPasswordExternal= some password
96
97secrets:
98 - uid: zk-admin
99 type: basicAuth
100 externalSecret: '{{ .Values.jaas.config.zkAdminPasswordExternal}}'
101 login: '{{ .Values.jaas.config.zkAdminUser }}'
102 password: '{{ .Values.jaas.config.zkAdminPassword }}'
103 passwordPolicy: required
sunil unnavab96a3912018-12-06 09:50:39 -0500104
pramodad6382f2018-03-28 22:32:00 +0000105## Persist data to a persitent volume
106persistence:
107 enabled: true
108
109 ## A manually managed Persistent Volume and Claim
110 ## Requires persistence.enabled: true
111 ## If defined, PVC must be created manually before volume will be bound
112 # existingClaim:
113 volumeReclaimPolicy: Retain
114
115 ## database data Persistent Volume Storage Class
116 ## If defined, storageClassName: <storageClass>
117 ## If set to "-", storageClassName: "", which disables dynamic provisioning
118 ## If undefined (the default) or set to null, no storageClassName spec is
119 ## set, choosing the default provisioner. (gp2 on AWS, standard on
120 ## GKE, AWS & OpenStack)
121 ##
122 # storageClass: "-"
Sylvain Desbureaux18fe1fe2019-08-29 17:30:02 +0200123 accessMode: ReadWriteOnce
pramodad6382f2018-03-28 22:32:00 +0000124 size: 2Gi
125 mountPath: /dockerdata-nfs
sunil unnavab96a3912018-12-06 09:50:39 -0500126 mountSubPath: message-router/data-zookeeper
pramodad6382f2018-03-28 22:32:00 +0000127
sunil unnavab96a3912018-12-06 09:50:39 -0500128
129rollingUpdate:
130 maxUnavailable: 1
pramodad6382f2018-03-28 22:32:00 +0000131service:
sunil unnavab96a3912018-12-06 09:50:39 -0500132 type: ClusterIP
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000133 name: message-router-zookeeper
134 portName: message-router-zookeeper
sunil unnavab96a3912018-12-06 09:50:39 -0500135 clientPortName: client
136 clientPort: 2181
137 serverPortName: server
138 serverPort: 2888
139 leaderElectionPortName: leader-election
140 leaderElectionPort: 3888
pramodad6382f2018-03-28 22:32:00 +0000141
142ingress:
143 enabled: false
144
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000145# Resource Limit flavor -By Default using small
146flavor: small
147# Segregation for Different environment (Small and Large)
148resources:
149 small:
150 limits:
151 cpu: 2000m
152 memory: 4Gi
153 requests:
154 cpu: 500m
155 memory: 1Gi
156 large:
157 limits:
158 cpu: 4000m
159 memory: 8Gi
160 requests:
161 cpu: 1000m
162 memory: 2Gi
sunil.unnava02f077e2019-03-28 20:50:29 -0400163 unlimited: {}