blob: eeb77ba7fdafc6a64260f425da00bab04f417cff [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
pramodad6382f2018-03-28 22:32:00 +000021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
pramodad6382f2018-03-28 22:32:00 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
Mandeep Khindaca210a92018-05-14 20:55:52 +000025 ubuntuInitRepository: registry.hub.docker.com
pramodad6382f2018-03-28 22:32:00 +000026 persistence: {}
27
28#################################################################
29# Application configuration defaults.
30#################################################################
31# application image
sunil unnavab96a3912018-12-06 09:50:39 -050032repository: nexus3.onap.org:10001
su622b5aa76012019-08-20 13:44:45 -040033image: onap/dmaap/zookeeper:6.0.0
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
42# application configuration
Mandeep Khindaca210a92018-05-14 20:55:52 +000043config:
44 # gerrit branch where the latest code is checked in
sunil unnavab96a3912018-12-06 09:50:39 -050045 gerritBranch: master
Mandeep Khindaca210a92018-05-14 20:55:52 +000046 # gerrit project where the latest code is checked in
47 gerritProject: http://gerrit.onap.org/r/dmaap/messagerouter/messageservice.git
pramodad6382f2018-03-28 22:32:00 +000048
49# default number of instances
sunil unnavab96a3912018-12-06 09:50:39 -050050replicaCount: 3
pramodad6382f2018-03-28 22:32:00 +000051
52nodeSelector: {}
53
Matthieu Cauffiezc3d5a562019-03-12 11:07:01 -040054nodeAffinity: {}
55
pramodad6382f2018-03-28 22:32:00 +000056affinity: {}
57
Matthieu Cauffiez767fd662019-03-12 13:47:52 -040058tolerations: {}
59
pramodad6382f2018-03-28 22:32:00 +000060# probe configuration parameters
61liveness:
62 initialDelaySeconds: 10
63 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040064 timeoutSeconds: 1
pramodad6382f2018-03-28 22:32:00 +000065 # necessary to disable liveness probe when setting breakpoints
66 # in debugger so K8s doesn't restart unresponsive container
67 enabled: true
68
69readiness:
70 initialDelaySeconds: 10
71 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040072 timeoutSeconds: 1
pramodad6382f2018-03-28 22:32:00 +000073
sunil unnavab96a3912018-12-06 09:50:39 -050074#Zookeeper properties
75zk:
76 initLimit: 5
77 syncLimit: 2
78
pramodad6382f2018-03-28 22:32:00 +000079## Persist data to a persitent volume
80persistence:
81 enabled: true
82
83 ## A manually managed Persistent Volume and Claim
84 ## Requires persistence.enabled: true
85 ## If defined, PVC must be created manually before volume will be bound
86 # existingClaim:
87 volumeReclaimPolicy: Retain
88
89 ## database data Persistent Volume Storage Class
90 ## If defined, storageClassName: <storageClass>
91 ## If set to "-", storageClassName: "", which disables dynamic provisioning
92 ## If undefined (the default) or set to null, no storageClassName spec is
93 ## set, choosing the default provisioner. (gp2 on AWS, standard on
94 ## GKE, AWS & OpenStack)
95 ##
96 # storageClass: "-"
Sylvain Desbureaux18fe1fe2019-08-29 17:30:02 +020097 accessMode: ReadWriteOnce
pramodad6382f2018-03-28 22:32:00 +000098 size: 2Gi
99 mountPath: /dockerdata-nfs
sunil unnavab96a3912018-12-06 09:50:39 -0500100 mountSubPath: message-router/data-zookeeper
pramodad6382f2018-03-28 22:32:00 +0000101
sunil unnavab96a3912018-12-06 09:50:39 -0500102
103rollingUpdate:
104 maxUnavailable: 1
pramodad6382f2018-03-28 22:32:00 +0000105service:
sunil unnavab96a3912018-12-06 09:50:39 -0500106 type: ClusterIP
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000107 name: message-router-zookeeper
108 portName: message-router-zookeeper
sunil unnavab96a3912018-12-06 09:50:39 -0500109 clientPortName: client
110 clientPort: 2181
111 serverPortName: server
112 serverPort: 2888
113 leaderElectionPortName: leader-election
114 leaderElectionPort: 3888
pramodad6382f2018-03-28 22:32:00 +0000115
116ingress:
117 enabled: false
118
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000119# Resource Limit flavor -By Default using small
120flavor: small
121# Segregation for Different environment (Small and Large)
122resources:
123 small:
124 limits:
125 cpu: 2000m
126 memory: 4Gi
127 requests:
128 cpu: 500m
129 memory: 1Gi
130 large:
131 limits:
132 cpu: 4000m
133 memory: 8Gi
134 requests:
135 cpu: 1000m
136 memory: 2Gi
sunil.unnava02f077e2019-03-28 20:50:29 -0400137 unlimited: {}