Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 25 | readinessImage: onap/oom/readiness:3.0.1 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 26 | ingress: |
| 27 | enabled: true |
| 28 | virtualhost: |
| 29 | enabled: false |
| 30 | |
| 31 | config: |
Jack Lucas | 8d8c9b9 | 2020-03-30 15:56:46 -0400 | [diff] [blame] | 32 | onboardingAPIURL: http://dcaemod-onboarding-api:8080/onboarding |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 33 | |
| 34 | # application image |
| 35 | repository: nexus3.onap.org:10001 |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 36 | image: onap/org.onap.dcaegen2.platform.mod.genprocessor-job:1.0.2 |
| 37 | httpImage: onap/org.onap.dcaegen2.platform.mod.genprocessor-http:1.0.2 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 38 | |
| 39 | service: |
| 40 | type: ClusterIP |
| 41 | name: dcaemod-genprocessor |
| 42 | ports: |
| 43 | - name: http |
Jack Lucas | 8d8c9b9 | 2020-03-30 15:56:46 -0400 | [diff] [blame] | 44 | port: 8080 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 45 | |
| 46 | ingress: |
| 47 | enabled: true |
| 48 | service: |
| 49 | - baseaddr: "nifi-jars" |
| 50 | name: dcaemod-genprocessor |
Jack Lucas | 8d8c9b9 | 2020-03-30 15:56:46 -0400 | [diff] [blame] | 51 | port: 8080 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 52 | config: |
| 53 | ssl: "none" |
| 54 | |
| 55 | # probe configuration parameters |
| 56 | liveness: |
| 57 | initialDelaySeconds: 60 |
| 58 | periodSeconds: 30 |
| 59 | # necessary to disable liveness probe when setting breakpoints |
| 60 | # in debugger so K8s doesn't restart unresponsive container |
| 61 | enabled: true |
| 62 | port: http |
| 63 | |
| 64 | readiness: |
| 65 | initialDelaySeconds: 60 |
| 66 | periodSeconds: 20 |
| 67 | port: http |
| 68 | # Should have a proper readiness endpoint or script |
| 69 | |
| 70 | # Parameters for persistent storage |
| 71 | persistence: |
| 72 | enabled: true |
| 73 | # Only the genprocessor-job writes, genprocessor-http mounts readOnly |
| 74 | accessMode: ReadWriteMany |
| 75 | size: 4Gi |
| 76 | mountPath: /dockerdata-nfs |
| 77 | mountSubPath: dcae-mod-genprocessor/data |
| 78 | volumeReclaimPolicy: Retain |
| 79 | |
| 80 | # Resource Limit flavor -By Default using small |
| 81 | flavor: small |
| 82 | # Segregation for Different environment (Small and Large) |
| 83 | resources: |
| 84 | small: |
| 85 | limits: |
| 86 | cpu: 2 |
| 87 | memory: 2Gi |
| 88 | requests: |
| 89 | cpu: 1 |
| 90 | memory: 1Gi |
| 91 | large: |
| 92 | limits: |
| 93 | cpu: 4 |
| 94 | memory: 4Gi |
| 95 | requests: |
| 96 | cpu: 2 |
| 97 | memory: 2Gi |
| 98 | unlimited: {} |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 99 | |