Run SDC pods as non-root
[oom.git] / kubernetes / sdc / charts / sdc-dcae-fe / 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   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-fe:1.3.3
31 pullPolicy: Always
32 config:
33   javaOptions: -XX:MaxPermSize=256m -Xmx1024m -Dconfig.home=config -Dlog.home=/var/lib/jetty/logs/ -Dlogging.config=config/dcae-fe/logback-spring.xml
34
35 # default number of instances
36 replicaCount: 1
37
38 nodeSelector: {}
39
40 affinity: {}
41
42 # probe configuration parameters
43 liveness:
44   initialDelaySeconds: 10
45   periodSeconds: 10
46   # necessary to disable liveness probe when setting breakpoints
47   # in debugger so K8s doesn't restart unresponsive container
48   enabled: false
49
50 readiness:
51   initialDelaySeconds: 10
52   periodSeconds: 10
53
54 service:
55   #Example service definition with external, internal and node ports.
56   #Services may use any combination of ports depending on the 'type' of
57   #service being defined.
58   type: NodePort
59   name: sdc-dcae-fe
60   portName: dcae-fe
61   nodePort: "63"
62   internalPort: 8183
63   portName2: dcae-fe2
64   nodePort2: "64"
65   internalPort2: 9444
66
67 ingress:
68   enabled: false
69   service:
70     - baseaddr: "dcaedt"
71       name: "sdc-dcae-fe"
72       port: 8183
73     - baseaddr: "dcaedt2"
74       name: "sdc-dcae-fe"
75       port: 9444
76   config:
77     ssl: "none"
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: 1
85       memory: 4Gi
86     requests:
87       cpu: 10m
88       memory: 1Gi
89   large:
90     limits:
91       cpu: 2
92       memory: 8Gi
93     requests:
94       cpu: 20m
95       memory: 2Gi
96   unlimited: {}