blob: 9bfcc83d586c2fab34bec1ca9b41ad473faa4deb [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020025 readinessImage: onap/oom/readiness:3.0.1
Jack Lucas7723ffe2020-02-13 17:19:01 -050026 ingress:
Jack Lucas7723ffe2020-02-13 17:19:01 -050027 virtualhost:
Sylvain Desbureaux4f4097e2020-12-08 10:48:29 +010028 baseurl: "simpledemo.onap.org"
Jack Lucas7723ffe2020-02-13 17:19:01 -050029
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
34repository: nexus3.onap.org:10001
vv770d601e2b02020-08-17 22:40:00 +000035image: onap/org.onap.dcaegen2.platform.mod.genprocessor-job:1.0.2
36httpImage: onap/org.onap.dcaegen2.platform.mod.genprocessor-http:1.0.2
Jack Lucas7723ffe2020-02-13 17:19:01 -050037
38service:
39 type: ClusterIP
40 name: dcaemod-genprocessor
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
Sylvain Desbureaux4f4097e2020-12-08 10:48:29 +010047 enabledOverride: true
Jack Lucas7723ffe2020-02-13 17:19:01 -050048 service:
Sylvain Desbureaux4f4097e2020-12-08 10:48:29 +010049 - baseaddr: "dcaemod"
50 path: "/nifi-jars"
Jack Lucas7723ffe2020-02-13 17:19:01 -050051 name: dcaemod-genprocessor
Jack Lucas8d8c9b92020-03-30 15:56:46 -040052 port: 8080
Jack Lucas7723ffe2020-02-13 17:19:01 -050053 config:
54 ssl: "none"
55
56# probe configuration parameters
57liveness:
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
65readiness:
66 initialDelaySeconds: 60
67 periodSeconds: 20
68 port: http
69 # Should have a proper readiness endpoint or script
70
71# Parameters for persistent storage
72persistence:
73 enabled: true
74# Only the genprocessor-job writes, genprocessor-http mounts readOnly
75 accessMode: ReadWriteMany
76 size: 4Gi
77 mountPath: /dockerdata-nfs
78 mountSubPath: dcae-mod-genprocessor/data
79 volumeReclaimPolicy: Retain
80
81# Resource Limit flavor -By Default using small
82flavor: small
83# Segregation for Different environment (Small and Large)
84resources:
85 small:
86 limits:
87 cpu: 2
88 memory: 2Gi
89 requests:
90 cpu: 1
91 memory: 1Gi
92 large:
93 limits:
94 cpu: 4
95 memory: 4Gi
96 requests:
97 cpu: 2
98 memory: 2Gi
99 unlimited: {}
vv770d601e2b02020-08-17 22:40:00 +0000100