blob: 5b83bb0a553f276598a82e40d277a6c9d1ce6b34 [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
pramodad6382f2018-03-28 22:32:00 +000025 persistence: {}
Mandeep Khindaca210a92018-05-14 20:55:52 +000026 ubuntuInitRepository: registry.hub.docker.com
pramodad6382f2018-03-28 22:32:00 +000027
28#################################################################
29# Application configuration defaults.
30#################################################################
31# application image
sunil unnava4b2c4e02018-08-29 19:11:26 -040032repository: nexus3.onap.org:10001
sunil.unnava02f077e2019-03-28 20:50:29 -040033image: onap/dmaap/kafka111:0.0.5
pramodad6382f2018-03-28 22:32:00 +000034pullPolicy: Always
Mandeep Khindaca210a92018-05-14 20:55:52 +000035ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
pramodad6382f2018-03-28 22:32:00 +000036
37zookeeper:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000038 name: message-router-zookeeper
39 port: 2181
pramodad6382f2018-03-28 22:32:00 +000040
41# flag to enable debugging - application support required
42debugEnabled: false
43
pramodad6382f2018-03-28 22:32:00 +000044# default number of instances
sunil unnavab96a3912018-12-06 09:50:39 -050045replicaCount: 3
46
sunil.unnava02f077e2019-03-28 20:50:29 -040047#Kafka custom authorizer class name
48kafkaCustomAuthorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer
49deleteTopicEnable: true
50
51# To access Kafka outside cluster, this value must be set to hard and the number of nodes in K8S cluster must be equal or greater then replica count
52podAntiAffinityType: soft
53
sunil unnavab96a3912018-12-06 09:50:39 -050054# defult partitions
55defaultpartitions: 3
56
pramodad6382f2018-03-28 22:32:00 +000057nodeSelector: {}
58
Matthieu Cauffiezc3d5a562019-03-12 11:07:01 -040059nodeAffinity: {}
60
pramodad6382f2018-03-28 22:32:00 +000061affinity: {}
62
Matthieu Cauffiez767fd662019-03-12 13:47:52 -040063tolerations: {}
64
sunil.unnava02f077e2019-03-28 20:50:29 -040065
66
pramodad6382f2018-03-28 22:32:00 +000067# probe configuration parameters
68liveness:
Yang Xuab585b52019-02-26 17:47:58 -050069 initialDelaySeconds: 60
pramodad6382f2018-03-28 22:32:00 +000070 periodSeconds: 10
71 # necessary to disable liveness probe when setting breakpoints
72 # in debugger so K8s doesn't restart unresponsive container
73 enabled: true
74
75readiness:
Yang Xuab585b52019-02-26 17:47:58 -050076 initialDelaySeconds: 60
pramodad6382f2018-03-28 22:32:00 +000077 periodSeconds: 10
78
79## 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: "-"
97 accessMode: ReadWriteMany
98 size: 2Gi
99 mountPath: /dockerdata-nfs
100 mountSubPath: message-router/data-kafka
101
102service:
sunil.unnava02f077e2019-03-28 20:50:29 -0400103 type: NodePort
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000104 name: message-router-kafka
105 portName: message-router-kafka
pramodad6382f2018-03-28 22:32:00 +0000106 internalPort: 9092
sunil.unnava02f077e2019-03-28 20:50:29 -0400107 externalPort: 9093
108 baseNodePort: 30490
109
110
pramodad6382f2018-03-28 22:32:00 +0000111
112ingress:
113 enabled: false
114
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000115# Resource Limit flavor -By Default using small
116flavor: small
117# Segregation for Different environment (Small and Large)
118resources:
119 small:
120 limits:
121 cpu: 2000m
122 memory: 4Gi
123 requests:
124 cpu: 500m
125 memory: 1Gi
126 large:
127 limits:
128 cpu: 4000m
129 memory: 8Gi
130 requests:
131 cpu: 1000m
132 memory: 2Gi
133 unlimited: {}
sunil unnavab96a3912018-12-06 09:50:39 -0500134