blob: 274edcd4a3d90d69b3c6e46a2196fdf662faef4a [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
Jack Lucas7723ffe2020-02-13 17:19:01 -050025
26 ingress:
27 enabled: true
28 virtualhost:
29 enabled: false
30
31config:
32 nifiRegistryURL: http://dcaemod-nifi-registry:18080/nifi-registry-api
Jack Lucas8d8c9b92020-03-30 15:56:46 -040033 onboardingAPIURL: http://dcaemod-onboarding-api:8080/onboarding
Jack Lucas7723ffe2020-02-13 17:19:01 -050034
35# application image
vv770d2ec85e32020-09-21 20:16:16 +000036image: onap/org.onap.dcaegen2.platform.mod.distributorapi:1.1.0
Jack Lucas7723ffe2020-02-13 17:19:01 -050037
38service:
39 type: ClusterIP
40 name: dcaemod-distributor-api
41 ports:
42 - name: http
Jack Lucas8d8c9b92020-03-30 15:56:46 -040043 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050044
45ingress:
46 enabled: true
47 service:
48 - baseaddr: "distributor"
49 name: dcaemod-distributor-api
Jack Lucas8d8c9b92020-03-30 15:56:46 -040050 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050051 config:
52 ssl: "none"
53
54# probe configuration parameters
55liveness:
56 initialDelaySeconds: 60
57 periodSeconds: 30
58 # necessary to disable liveness probe when setting breakpoints
59 # in debugger so K8s doesn't restart unresponsive container
60 enabled: true
61 port: http
62
63readiness:
64 initialDelaySeconds: 60
65 periodSeconds: 20
66 # Should have a proper readiness endpoint
67 # This will be OK as long as we have a small number
68 # of distribution targets
69 path: /distributor/distribution-targets
70 scheme: HTTP
71 port: http
72
73# Resource Limit flavor -By Default using small
74flavor: small
75# Segregation for Different environment (Small and Large)
76resources:
77 small:
78 limits:
79 cpu: 2
80 memory: 2Gi
81 requests:
82 cpu: 1
83 memory: 1Gi
84 large:
85 limits:
86 cpu: 4
87 memory: 4Gi
88 requests:
89 cpu: 2
90 memory: 2Gi
91 unlimited: {}