blob: 873e72e0d25c1dc395d0dac096c0dbafc403fd05 [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
su622b97c8c032019-08-16 03:50:57 -040033image: onap/dmaap/kafka111:1.0.1
pramodad6382f2018-03-28 22:32:00 +000034pullPolicy: Always
Mandeep Khindaca210a92018-05-14 20:55:52 +000035ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
sunil.unnava67970052019-04-10 13:09:52 -040036busyBoxImage: busybox:1.30
37busyBoxRepository: docker.io
38
pramodad6382f2018-03-28 22:32:00 +000039
40zookeeper:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000041 name: message-router-zookeeper
42 port: 2181
pramodad6382f2018-03-28 22:32:00 +000043
44# flag to enable debugging - application support required
45debugEnabled: false
46
pramodad6382f2018-03-28 22:32:00 +000047# default number of instances
sunil unnavab96a3912018-12-06 09:50:39 -050048replicaCount: 3
49
sunil.unnava02f077e2019-03-28 20:50:29 -040050#Kafka custom authorizer class name
51kafkaCustomAuthorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer
52deleteTopicEnable: true
53
54# 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
55podAntiAffinityType: soft
56
sunil unnavab96a3912018-12-06 09:50:39 -050057# defult partitions
58defaultpartitions: 3
59
pramodad6382f2018-03-28 22:32:00 +000060nodeSelector: {}
61
Matthieu Cauffiezc3d5a562019-03-12 11:07:01 -040062nodeAffinity: {}
63
pramodad6382f2018-03-28 22:32:00 +000064affinity: {}
65
Matthieu Cauffiez767fd662019-03-12 13:47:52 -040066tolerations: {}
67
sunil.unnava02f077e2019-03-28 20:50:29 -040068
69
pramodad6382f2018-03-28 22:32:00 +000070# probe configuration parameters
71liveness:
Yang Xuab585b52019-02-26 17:47:58 -050072 initialDelaySeconds: 60
pramodad6382f2018-03-28 22:32:00 +000073 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040074 timeoutSeconds: 1
pramodad6382f2018-03-28 22:32:00 +000075 # necessary to disable liveness probe when setting breakpoints
76 # in debugger so K8s doesn't restart unresponsive container
77 enabled: true
78
79readiness:
Yang Xuab585b52019-02-26 17:47:58 -050080 initialDelaySeconds: 60
pramodad6382f2018-03-28 22:32:00 +000081 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040082 timeoutSeconds: 1
pramodad6382f2018-03-28 22:32:00 +000083
84## Persist data to a persitent volume
85persistence:
86 enabled: true
87
88 ## A manually managed Persistent Volume and Claim
89 ## Requires persistence.enabled: true
90 ## If defined, PVC must be created manually before volume will be bound
91 # existingClaim:
92 volumeReclaimPolicy: Retain
93
94 ## database data Persistent Volume Storage Class
95 ## If defined, storageClassName: <storageClass>
96 ## If set to "-", storageClassName: "", which disables dynamic provisioning
97 ## If undefined (the default) or set to null, no storageClassName spec is
98 ## set, choosing the default provisioner. (gp2 on AWS, standard on
99 ## GKE, AWS & OpenStack)
100 ##
101 # storageClass: "-"
Sylvain Desbureaux18fe1fe2019-08-29 17:30:02 +0200102 accessMode: ReadWriteOnce
pramodad6382f2018-03-28 22:32:00 +0000103 size: 2Gi
104 mountPath: /dockerdata-nfs
105 mountSubPath: message-router/data-kafka
106
107service:
sunil.unnava02f077e2019-03-28 20:50:29 -0400108 type: NodePort
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000109 name: message-router-kafka
110 portName: message-router-kafka
pramodad6382f2018-03-28 22:32:00 +0000111 internalPort: 9092
sunil.unnava02f077e2019-03-28 20:50:29 -0400112 externalPort: 9093
113 baseNodePort: 30490
114
Sylvain Desbureaux18fe1fe2019-08-29 17:30:02 +0200115
pramodad6382f2018-03-28 22:32:00 +0000116
117ingress:
118 enabled: false
119
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000120# Resource Limit flavor -By Default using small
121flavor: small
122# Segregation for Different environment (Small and Large)
123resources:
124 small:
125 limits:
126 cpu: 2000m
127 memory: 4Gi
128 requests:
129 cpu: 500m
130 memory: 1Gi
131 large:
132 limits:
133 cpu: 4000m
134 memory: 8Gi
135 requests:
136 cpu: 1000m
137 memory: 2Gi
138 unlimited: {}