blob: 4c5541bf2e82c65678bfebf2a8e19fa5c1323dcc [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
sunil.unnava5c4f4302019-05-06 14:34:26 -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
64 # necessary to disable liveness probe when setting breakpoints
65 # in debugger so K8s doesn't restart unresponsive container
66 enabled: true
67
68readiness:
69 initialDelaySeconds: 10
70 periodSeconds: 10
71
sunil unnavab96a3912018-12-06 09:50:39 -050072#Zookeeper properties
73zk:
74 initLimit: 5
75 syncLimit: 2
76
pramodad6382f2018-03-28 22:32:00 +000077## Persist data to a persitent volume
78persistence:
79 enabled: true
80
81 ## A manually managed Persistent Volume and Claim
82 ## Requires persistence.enabled: true
83 ## If defined, PVC must be created manually before volume will be bound
84 # existingClaim:
85 volumeReclaimPolicy: Retain
86
87 ## database data Persistent Volume Storage Class
88 ## If defined, storageClassName: <storageClass>
89 ## If set to "-", storageClassName: "", which disables dynamic provisioning
90 ## If undefined (the default) or set to null, no storageClassName spec is
91 ## set, choosing the default provisioner. (gp2 on AWS, standard on
92 ## GKE, AWS & OpenStack)
93 ##
94 # storageClass: "-"
95 accessMode: ReadWriteMany
96 size: 2Gi
97 mountPath: /dockerdata-nfs
sunil unnavab96a3912018-12-06 09:50:39 -050098 mountSubPath: message-router/data-zookeeper
pramodad6382f2018-03-28 22:32:00 +000099
sunil unnavab96a3912018-12-06 09:50:39 -0500100
101rollingUpdate:
102 maxUnavailable: 1
pramodad6382f2018-03-28 22:32:00 +0000103service:
sunil unnavab96a3912018-12-06 09:50:39 -0500104 type: ClusterIP
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000105 name: message-router-zookeeper
106 portName: message-router-zookeeper
sunil unnavab96a3912018-12-06 09:50:39 -0500107 clientPortName: client
108 clientPort: 2181
109 serverPortName: server
110 serverPort: 2888
111 leaderElectionPortName: leader-election
112 leaderElectionPort: 3888
pramodad6382f2018-03-28 22:32:00 +0000113
114ingress:
115 enabled: false
116
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000117# Resource Limit flavor -By Default using small
118flavor: small
119# Segregation for Different environment (Small and Large)
120resources:
121 small:
122 limits:
123 cpu: 2000m
124 memory: 4Gi
125 requests:
126 cpu: 500m
127 memory: 1Gi
128 large:
129 limits:
130 cpu: 4000m
131 memory: 8Gi
132 requests:
133 cpu: 1000m
134 memory: 2Gi
sunil.unnava02f077e2019-03-28 20:50:29 -0400135 unlimited: {}