Add missing resource limits to POMBA pods
[oom.git] / kubernetes / pomba / charts / pomba-contextaggregator / values.yaml
1 # Copyright © 2018 Amdocs
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
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/pomba-context-aggregator:latest
27 pullPolicy: Always
28
29 # flag to enable debugging - application support required
30 debugEnabled: false
31
32 # application configuration
33 config:
34   aaiCtxBuilderHost: pomba-aaictxbuilder
35   aaiCtxBuilderUsername: admin
36   aaiCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
37   sdcCtxBuilderHost: pomba-sdcctxbuilder
38   sdcCtxBuilderUsername: admin
39   sdcCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
40   sdncCtxBuilderHost: pomba-sdncctxbuilder
41   sdncCtxBuilderUsername: admin
42   sdncCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
43   networkdiscoveryCtxBuilderUsername: admin
44   networkdiscoveryCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30
45   ctxBuilderExternalPort: 9530
46
47 # default number of instances
48 replicaCount: 1
49
50 nodeSelector: {}
51
52 affinity: {}
53
54 # probe configuration parameters
55 liveness:
56   initialDelaySeconds: 10
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: 10
64   periodSeconds: 10
65   enabled: false
66
67 #Example service definition with external, internal and node ports.
68 service:
69   # The default service name (exposed in the service.yaml) will be the same
70   # name as the chart. If the service name needs to be overriden (such as
71   # when a subchart is shared), uncomment the value below.
72   #name: <service-name-override>
73
74   #Services may use any combination of ports depending on the 'type' of
75   #service being defined.
76   #type: ClusterIP
77   #externalPort: 9529
78   internalPort: 9529
79   #nodePort: <replace with unused node port suffix eg. 23>
80   # optional port name override - default can be defined in service.yaml
81   #portName: http
82
83 ingress:
84   enabled: false
85
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 # Segregation for Different environment (Small and Large)
89 resources:
90   small:
91     limits:
92       cpu: 1
93       memory: 800Mi
94     requests:
95       cpu: 10m
96       memory: 400Mi
97   large:
98     limits:
99       cpu: 2
100       memory: 1600Mi
101     requests:
102       cpu: 20m
103       memory: 800Mi
104   unlimited: {}