blob: 3d9c37788526d6f16751b5a85f9f2a6774bfc055 [file] [log] [blame]
Jack Lucas7723ffe2020-02-13 17:19:01 -05001#============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#################################################################
21global:
22 persistence: {}
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
25 readinessRepository: oomk8s
26 readinessImage: readiness-check:2.0.0
27
28 ingress:
29 enabled: true
30 virtualhost:
31 enabled: false
32
33config:
34 nifiRegistryURL: http://dcaemod-nifi-registry:18080/nifi-registry-api
35 onboardingAPIURL: http://dcaemod-onboarding-api/onboarding
36
37# application image
38repository: nexus3.onap.org:10001
39image: onap/org.onap.dcaegen2.platform.mod.distributorapi:1.0.0
40
41service:
42 type: ClusterIP
43 name: dcaemod-distributor-api
44 ports:
45 - name: http
46 port: 80
47
48ingress:
49 enabled: true
50 service:
51 - baseaddr: "distributor"
52 name: dcaemod-distributor-api
53 port: 80
54 config:
55 ssl: "none"
56
57# probe configuration parameters
58liveness:
59 initialDelaySeconds: 60
60 periodSeconds: 30
61 # necessary to disable liveness probe when setting breakpoints
62 # in debugger so K8s doesn't restart unresponsive container
63 enabled: true
64 port: http
65
66readiness:
67 initialDelaySeconds: 60
68 periodSeconds: 20
69 # Should have a proper readiness endpoint
70 # This will be OK as long as we have a small number
71 # of distribution targets
72 path: /distributor/distribution-targets
73 scheme: HTTP
74 port: http
75
76# Resource Limit flavor -By Default using small
77flavor: small
78# Segregation for Different environment (Small and Large)
79resources:
80 small:
81 limits:
82 cpu: 2
83 memory: 2Gi
84 requests:
85 cpu: 1
86 memory: 1Gi
87 large:
88 limits:
89 cpu: 4
90 memory: 4Gi
91 requests:
92 cpu: 2
93 memory: 2Gi
94 unlimited: {}