run mr containers as non root user
[oom.git] / kubernetes / dmaap / components / message-router / 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
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/dmaap/dmaap-mr:1.1.12
32 pullPolicy: Always
33
34 kafka:
35   name: message-router-kafka
36   port: 9092
37 zookeeper:
38   name: message-router-zookeeper
39   port: 2181
40
41 # flag to enable debugging - application support required
42 debugEnabled: false
43
44 # application configuration
45 config: {}
46
47 # default number of instances
48 replicaCount: 1
49
50 nodeSelector: {}
51
52 affinity: {}
53
54 # probe configuration parameters
55 liveness:
56   initialDelaySeconds: 70
57   periodSeconds: 10
58   # necessary to disable liveness probe when setting breakpoints
59   # in debugger so K8s doesn't restart unresponsive container
60   enabled: true
61
62 readiness:
63   initialDelaySeconds: 70
64   periodSeconds: 10
65
66 service:
67   type: NodePort
68   name: message-router
69   portName: message-router
70   externalPort: 3904
71   nodePort: 27
72   externalPort2: 3905
73   nodePort2: 26
74
75 ingress:
76   enabled: false
77
78 # Resource Limit flavor -By Default using small
79 flavor: small
80 # Segregation for Different environment (Small and Large)
81 resources:
82   small:
83     limits:
84       cpu: 2000m
85       memory: 4Gi
86     requests:
87       cpu: 500m
88       memory: 1Gi
89   large:
90     limits:
91       cpu: 4000m
92       memory: 8Gi
93     requests:
94       cpu: 1000m
95       memory: 2Gi
96   unlimited: {}