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 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 25 | ingress: |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 26 | virtualhost: |
Sylvain Desbureaux | afae229 | 2020-12-08 10:48:29 +0100 | [diff] [blame] | 27 | baseurl: "simpledemo.onap.org" |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 28 | |
| 29 | config: |
Jack Lucas | 8d8c9b9 | 2020-03-30 15:56:46 -0400 | [diff] [blame] | 30 | onboardingAPIURL: http://dcaemod-onboarding-api:8080/onboarding |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 31 | |
| 32 | # application image |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 33 | image: onap/org.onap.dcaegen2.platform.mod.genprocessor-job:1.0.2 |
| 34 | httpImage: onap/org.onap.dcaegen2.platform.mod.genprocessor-http:1.0.2 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 35 | |
| 36 | service: |
| 37 | type: ClusterIP |
| 38 | name: dcaemod-genprocessor |
| 39 | ports: |
| 40 | - name: http |
Jack Lucas | 8d8c9b9 | 2020-03-30 15:56:46 -0400 | [diff] [blame] | 41 | port: 8080 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 42 | |
| 43 | ingress: |
| 44 | enabled: true |
Sylvain Desbureaux | afae229 | 2020-12-08 10:48:29 +0100 | [diff] [blame] | 45 | enabledOverride: true |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 46 | service: |
Sylvain Desbureaux | afae229 | 2020-12-08 10:48:29 +0100 | [diff] [blame] | 47 | - baseaddr: "dcaemod" |
| 48 | path: "/nifi-jars" |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 49 | name: dcaemod-genprocessor |
Jack Lucas | 8d8c9b9 | 2020-03-30 15:56:46 -0400 | [diff] [blame] | 50 | port: 8080 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 51 | config: |
| 52 | ssl: "none" |
| 53 | |
| 54 | # probe configuration parameters |
| 55 | liveness: |
| 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 | |
| 63 | readiness: |
| 64 | initialDelaySeconds: 60 |
| 65 | periodSeconds: 20 |
| 66 | port: http |
| 67 | # Should have a proper readiness endpoint or script |
| 68 | |
| 69 | # Parameters for persistent storage |
| 70 | persistence: |
| 71 | enabled: true |
| 72 | # Only the genprocessor-job writes, genprocessor-http mounts readOnly |
| 73 | accessMode: ReadWriteMany |
| 74 | size: 4Gi |
| 75 | mountPath: /dockerdata-nfs |
| 76 | mountSubPath: dcae-mod-genprocessor/data |
| 77 | volumeReclaimPolicy: Retain |
| 78 | |
| 79 | # Resource Limit flavor -By Default using small |
| 80 | flavor: small |
| 81 | # Segregation for Different environment (Small and Large) |
| 82 | resources: |
| 83 | small: |
| 84 | limits: |
| 85 | cpu: 2 |
| 86 | memory: 2Gi |
| 87 | requests: |
| 88 | cpu: 1 |
| 89 | memory: 1Gi |
| 90 | large: |
| 91 | limits: |
| 92 | cpu: 4 |
| 93 | memory: 4Gi |
| 94 | requests: |
| 95 | cpu: 2 |
| 96 | memory: 2Gi |
| 97 | unlimited: {} |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 98 | |
farida azmy | 5093301 | 2021-09-12 12:56:40 +0200 | [diff] [blame^] | 99 | #Pods Service Account |
| 100 | serviceAccount: |
| 101 | nameOverride: dcaemod-genprocessor |
| 102 | roles: |
| 103 | - read |
| 104 | |