blob: 45ae96f2d2a3dbafa79bdbcaa2af36586344a89a [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 ingress:
26 enabled: true
27 virtualhost:
28 enabled: false
29
30config:
Jack Lucas8d8c9b92020-03-30 15:56:46 -040031 onboardingAPIURL: http://dcaemod-onboarding-api:8080/onboarding
Jack Lucas7723ffe2020-02-13 17:19:01 -050032
33# application image
vv770d601e2b02020-08-17 22:40:00 +000034image: onap/org.onap.dcaegen2.platform.mod.genprocessor-job:1.0.2
35httpImage: onap/org.onap.dcaegen2.platform.mod.genprocessor-http:1.0.2
Jack Lucas7723ffe2020-02-13 17:19:01 -050036
37service:
38 type: ClusterIP
39 name: dcaemod-genprocessor
40 ports:
41 - name: http
Jack Lucas8d8c9b92020-03-30 15:56:46 -040042 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050043
44ingress:
45 enabled: true
46 service:
47 - baseaddr: "nifi-jars"
48 name: dcaemod-genprocessor
Jack Lucas8d8c9b92020-03-30 15:56:46 -040049 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050050 config:
51 ssl: "none"
52
53# probe configuration parameters
54liveness:
55 initialDelaySeconds: 60
56 periodSeconds: 30
57 # necessary to disable liveness probe when setting breakpoints
58 # in debugger so K8s doesn't restart unresponsive container
59 enabled: true
60 port: http
61
62readiness:
63 initialDelaySeconds: 60
64 periodSeconds: 20
65 port: http
66 # Should have a proper readiness endpoint or script
67
68# Parameters for persistent storage
69persistence:
70 enabled: true
71# Only the genprocessor-job writes, genprocessor-http mounts readOnly
72 accessMode: ReadWriteMany
73 size: 4Gi
74 mountPath: /dockerdata-nfs
75 mountSubPath: dcae-mod-genprocessor/data
76 volumeReclaimPolicy: Retain
77
78# Resource Limit flavor -By Default using small
79flavor: small
80# Segregation for Different environment (Small and Large)
81resources:
82 small:
83 limits:
84 cpu: 2
85 memory: 2Gi
86 requests:
87 cpu: 1
88 memory: 1Gi
89 large:
90 limits:
91 cpu: 4
92 memory: 4Gi
93 requests:
94 cpu: 2
95 memory: 2Gi
96 unlimited: {}
vv770d601e2b02020-08-17 22:40:00 +000097