Allow dr-node containers to run as non-root
[oom.git] / kubernetes / dmaap / components / dmaap-dr-node / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   readinessRepository: oomk8s
20   readinessImage: readiness-check:2.0.0
21   loggingRepository: docker.elastic.co
22   loggingImage: beats/filebeat:5.5.0
23   loggingDirectory: /opt/app/datartr/logs
24   busyBoxImage: busybox:1.30
25   busyBoxRepository: docker.io
26
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
30 # application image
31 repository: nexus3.onap.org:10001
32 image: onap/dmaap/datarouter-node:2.1.0
33 pullPolicy: Always
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 # application configuration - see parent values chart
39
40 # default number of instances
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 30
50   periodSeconds: 10
51   # necessary to disable liveness probe when setting breakpoints
52   # in debugger so K8s doesn't restart unresponsive container
53   enabled: true
54
55 readiness:
56   initialDelaySeconds: 30
57   periodSeconds: 10
58
59 ## Persist data to a persitent volume
60 persistence:
61   volumeReclaimPolicy: Retain
62   accessMode: ReadWriteMany
63   mountPath: /dockerdata-nfs
64
65   spoolMountSubPath: data-router/dr-node/spool-data
66   spoolSize: 1Gi
67   spoolPath: /opt/app/datartr/spool
68
69   eventLogsMountSubPath: data-router/dr-node/event-logs
70   eventLogSize: 1Gi
71   eventLogsPath: /opt/app/datartr/logs
72
73 ingress:
74   enabled: false
75
76 # Resource Limit flavor -By Default using small
77 flavor: small
78 # Segregation for Different environment (Small and Large)
79 resources:
80   small:
81     limits:
82       cpu: 2000m
83       memory: 4Gi
84     requests:
85       cpu: 500m
86       memory: 1Gi
87   large:
88     limits:
89       cpu: 4000m
90       memory: 8Gi
91     requests:
92       cpu: 1000m
93       memory: 2Gi
94   unlimited: {}
95
96 config:
97   # dr node server configuration
98   dmaapDrNode:
99     servicetype: ClusterIP
100     name: dmaap-dr-node
101     externalPort: 8080
102     externalPort2: 8443
103     internalPort: 8080
104     internalPort2: 8443
105     portName: dr-node-port
106     portName2: dr-node-port2
107
108 # dr provisioning server configuration
109   dmaapDrProv:
110     name: dmaap-dr-prov
111     externalPort2: 8443
112     internalPort2: 8443