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 | nodePortPrefix: 302 |
| 23 | nodePortPrefixExt: 304 |
| 24 | readinessRepository: oomk8s |
| 25 | readinessImage: readiness-check:2.0.0 |
| 26 | |
| 27 | config: |
| 28 | dashboardURL: https://inventory:8080/dcae-service-types |
| 29 | # The dashboard credentials aren't actually used, since |
| 30 | # the inventory API and the dashboard pass-through to the |
| 31 | # inventory API don't require authentication. |
| 32 | # Since the password doesn't matter, we let it be |
| 33 | # generated by the common secret template. |
| 34 | dashboardUser: nobody |
| 35 | #dashboardPassword: doesntmatter |
| 36 | mrTopicURL: http://message-router:3904/events |
| 37 | |
| 38 | secrets: |
| 39 | - uid: "dashsecret" |
| 40 | type: basicAuth |
| 41 | login: '{{ .Values.config.dashboardUser }}' |
| 42 | password: '{{ .Values.config.dashboardPassword }}' |
| 43 | passwordPolicy: generate |
| 44 | |
| 45 | service: |
| 46 | type: ClusterIP |
| 47 | name: dcaemod-runtime-api |
| 48 | ports: |
| 49 | - name: http |
| 50 | port: 9090 |
| 51 | |
| 52 | # probe configuration parameters |
| 53 | liveness: |
| 54 | initialDelaySeconds: 60 |
| 55 | periodSeconds: 30 |
| 56 | port: http |
| 57 | # necessary to disable liveness probe when setting breakpoints |
| 58 | # in debugger so K8s doesn't restart unresponsive container |
| 59 | enabled: true |
| 60 | |
| 61 | readiness: |
| 62 | initialDelaySeconds: 60 |
| 63 | periodSeconds: 20 |
| 64 | port: http |
| 65 | # Should have a proper readiness endpoint or script |
| 66 | |
| 67 | # application image |
| 68 | repository: nexus3.onap.org:10001 |
| 69 | image: onap/org.onap.dcaegen2.platform.mod.runtime-web:1.0.0 |
| 70 | |
| 71 | # Resource Limit flavor -By Default using small |
| 72 | flavor: small |
| 73 | # Segregation for Different environment (Small and Large) |
| 74 | resources: |
| 75 | small: |
| 76 | limits: |
| 77 | cpu: 2 |
| 78 | memory: 2Gi |
| 79 | requests: |
| 80 | cpu: 1 |
| 81 | memory: 1Gi |
| 82 | large: |
| 83 | limits: |
| 84 | cpu: 4 |
| 85 | memory: 4Gi |
| 86 | requests: |
| 87 | cpu: 2 |
| 88 | memory: 2Gi |
| 89 | unlimited: {} |