Run SDC pods as non-root
[oom.git] / kubernetes / sdc / charts / sdc-dcae-be / values.yaml
1 # Copyright © 2018 Amdocs, AT&T, 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   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.2
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/dcae-be:1.3.3
31 pullPolicy: Always
32 backendInitImage: onap/dcae-tools:v1.3.3
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 config:
38   javaOptions: -XX:MaxPermSize=256m -Xmx1024m -Dconfig.home=config -Dlog.home=/var/lib/jetty/logs/ -Dlogging.config=config/dcae-be/logback-spring.xml
39   cassandraSslEnabled: "false"
40
41 # default number of instances
42 replicaCount: 1
43
44 nodeSelector: {}
45
46 affinity: {}
47
48 # probe configuration parameters
49 liveness:
50   initialDelaySeconds: 240
51   periodSeconds: 10
52   # necessary to disable liveness probe when setting breakpoints
53   # in debugger so K8s doesn't restart unresponsive container
54   enabled: false
55
56 readiness:
57   initialDelaySeconds: 240
58   periodSeconds: 10
59
60 service:
61   type: ClusterIP
62   name: sdc-dcae-be
63   portName: sdc-dcae-be-8082
64   externalPort: 8082
65   internalPort: 8082
66   portName2: sdc-dcae-be-8444
67   externalPort2: 8444
68   internalPort2: 8444
69
70 ingress:
71   enabled: false
72
73 # Resource Limit flavor -By Default using small
74 flavor: small
75 # Segregation for Different environment (Small and Large)
76 resources:
77   small:
78     limits:
79       cpu: 1
80       memory: 4Gi
81     requests:
82       cpu: 10m
83       memory: 1Gi
84   large:
85     limits:
86       cpu: 2
87       memory: 8Gi
88     requests:
89       cpu: 20m
90       memory: 2Gi
91   unlimited: {}