Merge "Add missing resource limits to POMBA pods"
[oom.git] / kubernetes / pomba / charts / pomba-validation-service / 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   repository: nexus3.onap.org:10001
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 repository: nexus3.onap.org:10001
32 image:  onap/validation:1.3.0
33 #pullPolicy: Always
34 pullPolicy: IfNotPresent
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration
40 # Example:
41 config:
42   appDir: /opt/app/validation-service
43   configDir: /opt/app/validation-service/appconfig
44   configAuthDir: /opt/app/validation-service/appconfig/auth
45   configTopicsDir: /opt/app/validation-service/appconfig/topics
46   rulesDir: /opt/app/validation-service/bundleconfig/etc/rules/poa-event
47   maxHeap: 1024
48 #  username: myusername
49 #  password: mypassword
50
51 # default number of instances
52 replicaCount: 1
53
54 nodeSelector: {}
55
56 affinity: {}
57
58 # probe configuration parameters
59 liveness:
60   initialDelaySeconds: 10
61   periodSeconds: 10
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   enabled: false
65
66 readiness:
67   initialDelaySeconds: 10
68   periodSeconds: 10
69   enabled: false
70
71 #Example service definition with external, internal and node ports.
72 service:
73   # The default service name (exposed in the service.yaml) will be the same
74   # name as the chart. If the service name needs to be overriden (such as
75   # when a subchart is shared), uncomment the value below.
76   #name: validation-service
77
78   #Services may use any combination of ports depending on the 'type' of
79   #service being defined.
80   type: ClusterIP
81   externalPort: 9529
82   internalPort: 8080
83 #  nodePort: <replace with unused node port suffix eg. 23>
84   # optional port name override - default can be defined in service.yaml
85   #portName: http
86
87 ingress:
88   enabled: false
89
90 # Resource Limit flavor -By Default using small
91 flavor: small
92 # Segregation for Different environment (Small and Large)
93 resources:
94   small:
95     limits:
96       cpu: 1
97       memory: 1400Mi
98     requests:
99       cpu: 50m
100       memory: 700Mi
101   large:
102     limits:
103       cpu: 2
104       memory: 2800Mi
105     requests:
106       cpu: 100m
107       memory: 1400Mi
108   unlimited: {}