run mr containers as non root user
[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.6
34 pullPolicy: Always
35 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
36 busyBoxImage: busybox:1.30
37 busyBoxRepository: docker.io
38
39
40 zookeeper:
41   name: message-router-zookeeper
42   port: 2181
43
44 # flag to enable debugging - application support required
45 debugEnabled: false
46
47 # default number of instances
48 replicaCount: 3
49
50 #Kafka custom authorizer class name
51 kafkaCustomAuthorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer
52 deleteTopicEnable: 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
55 podAntiAffinityType: soft
56
57 # defult partitions
58 defaultpartitions: 3
59
60 nodeSelector: {}
61
62 nodeAffinity: {}
63
64 affinity: {}
65
66 tolerations: {}
67
68
69
70 # probe configuration parameters
71 liveness:
72   initialDelaySeconds: 60
73   periodSeconds: 10
74   # necessary to disable liveness probe when setting breakpoints
75   # in debugger so K8s doesn't restart unresponsive container
76   enabled: true
77
78 readiness:
79   initialDelaySeconds: 60
80   periodSeconds: 10
81
82 ## Persist data to a persitent volume
83 persistence:
84   enabled: true
85
86   ## A manually managed Persistent Volume and Claim
87   ## Requires persistence.enabled: true
88   ## If defined, PVC must be created manually before volume will be bound
89   # existingClaim:
90   volumeReclaimPolicy: Retain
91
92   ## database data Persistent Volume Storage Class
93   ## If defined, storageClassName: <storageClass>
94   ## If set to "-", storageClassName: "", which disables dynamic provisioning
95   ## If undefined (the default) or set to null, no storageClassName spec is
96   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
97   ##   GKE, AWS & OpenStack)
98   ##
99   # storageClass: "-"
100   accessMode: ReadWriteMany
101   size: 2Gi
102   mountPath: /dockerdata-nfs
103   mountSubPath: message-router/data-kafka
104
105 service:
106   type: NodePort
107   name: message-router-kafka
108   portName: message-router-kafka
109   internalPort: 9092
110   externalPort: 9093
111   baseNodePort: 30490
112
113   
114
115 ingress:
116   enabled: false
117
118 # Resource Limit flavor -By Default using small
119 flavor: small
120 # Segregation for Different environment (Small and Large)
121 resources:
122   small:
123     limits:
124       cpu: 2000m
125       memory: 4Gi
126     requests:
127       cpu: 500m
128       memory: 1Gi
129   large:
130     limits:
131       cpu: 4000m
132       memory: 8Gi
133     requests:
134       cpu: 1000m
135       memory: 2Gi
136   unlimited: {}
137