Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
| 3 | # Copyright (c) 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 |
| 25 | readinessRepository: oomk8s |
| 26 | readinessImage: readiness-check:2.0.0 |
| 27 | |
| 28 | ingress: |
| 29 | enabled: true |
| 30 | virtualhost: |
| 31 | enabled: false |
| 32 | |
| 33 | config: |
| 34 | nifiJarsIndexURL: http://dcaemod-genprocessor/nifi-jars |
| 35 | distributorAPIURL: /distributor |
| 36 | curlImage: curlimages/curl:7.68.0 |
| 37 | |
| 38 | # application image |
| 39 | repository: nexus3.onap.org:10001 |
| 40 | image: onap/org.onap.dcaegen2.platform.mod.designtool-web:1.0.0 |
| 41 | |
| 42 | service: |
| 43 | type: ClusterIP |
| 44 | name: dcaemod-designtool |
| 45 | ports: |
| 46 | - name: http |
| 47 | port: 8080 |
| 48 | |
| 49 | ingress: |
| 50 | enabled: true |
| 51 | service: |
| 52 | - baseaddr: "nifi" |
| 53 | name: "dcaemod-designtool" |
| 54 | port: 8080 |
| 55 | - baseaddr: "nifi-api" |
| 56 | name: "dcaemod-designtool" |
| 57 | port: 8080 |
| 58 | config: |
| 59 | ssl: "none" |
| 60 | |
| 61 | # probe configuration parameters |
| 62 | liveness: |
| 63 | initialDelaySeconds: 90 |
| 64 | periodSeconds: 30 |
| 65 | # necessary to disable liveness probe when setting breakpoints |
| 66 | # in debugger so K8s doesn't restart unresponsive container |
| 67 | enabled: true |
| 68 | port: http |
| 69 | |
| 70 | readiness: |
| 71 | initialDelaySeconds: 60 |
| 72 | periodSeconds: 20 |
| 73 | path: /nifi-api/system-diagnostics |
| 74 | scheme: HTTP |
| 75 | port: http |
| 76 | |
| 77 | # Resource Limit flavor -By Default using small |
| 78 | flavor: small |
| 79 | # Segregation for Different environment (Small and Large) |
| 80 | resources: |
| 81 | small: |
| 82 | limits: |
| 83 | cpu: 2 |
| 84 | memory: 2Gi |
| 85 | requests: |
| 86 | cpu: 1 |
| 87 | memory: 1Gi |
| 88 | large: |
| 89 | limits: |
| 90 | cpu: 4 |
| 91 | memory: 4Gi |
| 92 | requests: |
| 93 | cpu: 2 |
| 94 | memory: 2Gi |
| 95 | unlimited: {} |