Merge "[VFC] Uses new tpls for repos / images"
[oom.git] / kubernetes / dcaemod / components / dcaemod-distributor-api / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
21 global:
22   persistence: {}
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25   readinessImage: onap/oom/readiness:3.0.1
26
27   ingress:
28     enabled: true
29     virtualhost:
30         enabled: false
31
32 config:
33   nifiRegistryURL: http://dcaemod-nifi-registry:18080/nifi-registry-api
34   onboardingAPIURL: http://dcaemod-onboarding-api:8080/onboarding
35
36 # application image
37 repository: nexus3.onap.org:10001
38 image: onap/org.onap.dcaegen2.platform.mod.distributorapi:1.1.0
39
40 service:
41   type: ClusterIP
42   name: dcaemod-distributor-api
43   ports:
44     - name: http
45       port: 8080
46
47 ingress:
48     enabled: true
49     service:
50     - baseaddr: "distributor"
51       name: dcaemod-distributor-api
52       port: 8080
53     config:
54       ssl: "none"
55
56 # probe configuration parameters
57 liveness:
58   initialDelaySeconds: 60
59   periodSeconds: 30
60   # necessary to disable liveness probe when setting breakpoints
61   # in debugger so K8s doesn't restart unresponsive container
62   enabled: true
63   port: http
64
65 readiness:
66   initialDelaySeconds: 60
67   periodSeconds: 20
68   # Should have a proper readiness endpoint
69   # This will be OK as long as we have a small number
70   # of distribution targets
71   path: /distributor/distribution-targets
72   scheme: HTTP
73   port: http
74
75 # Resource Limit flavor -By Default using small
76 flavor: small
77 # Segregation for Different environment (Small and Large)
78 resources:
79   small:
80     limits:
81       cpu: 2
82       memory: 2Gi
83     requests:
84       cpu: 1
85       memory: 1Gi
86   large:
87     limits:
88       cpu: 4
89       memory: 4Gi
90     requests:
91       cpu: 2
92       memory: 2Gi
93   unlimited: {}