DMAAP changes
[oom.git] / kubernetes / dmaap / components / message-router / charts / message-router-kafka / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   persistence: {}
26   ubuntuInitRepository: registry.hub.docker.com
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/dmaap/kafka111:0.0.5
34 pullPolicy: Always
35 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
36
37 zookeeper:
38   name: message-router-zookeeper
39   port: 2181
40
41 # flag to enable debugging - application support required
42 debugEnabled: false
43
44 # default number of instances
45 replicaCount: 3
46
47 #Kafka custom authorizer class name
48 kafkaCustomAuthorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer
49 deleteTopicEnable: 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
52 podAntiAffinityType: soft
53
54 # defult partitions
55 defaultpartitions: 3
56
57 nodeSelector: {}
58
59 nodeAffinity: {}
60
61 affinity: {}
62
63 tolerations: {}
64
65
66
67 # probe configuration parameters
68 liveness:
69   initialDelaySeconds: 60
70   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
75 readiness:
76   initialDelaySeconds: 60
77   periodSeconds: 10
78
79 ## Persist data to a persitent volume
80 persistence:
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
102 service:
103   type: NodePort
104   name: message-router-kafka
105   portName: message-router-kafka
106   internalPort: 9092
107   externalPort: 9093
108   baseNodePort: 30490
109
110   
111
112 ingress:
113   enabled: false
114
115 # Resource Limit flavor -By Default using small
116 flavor: small
117 # Segregation for Different environment (Small and Large)
118 resources:
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: {}
134