Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | repository: nexus3.onap.org:10001 |
| 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
| 27 | image: onap/service-decomposition:latest |
| 28 | pullPolicy: Always |
| 29 | |
| 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | # application configuration |
| 34 | # Example: |
| 35 | config: |
| 36 | # Service Decomposition REST Client Configuration |
Geora Barsky | ee8f607 | 2018-11-01 22:51:23 -0400 | [diff] [blame] | 37 | aaiServiceName: aai |
| 38 | aaiPort: 8443 |
| 39 | aaiUsername: AAI |
| 40 | aaiPassword: OBF:1gfr1ev31gg7 |
| 41 | aaiHttpProtocol: https |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 42 | # Basic Authorization Client credentials for Service Decomposition REST service |
| 43 | serviceDecompositionUserId: admin |
| 44 | serviceDecompositionPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 45 | |
| 46 | # default number of instances |
| 47 | replicaCount: 1 |
| 48 | |
| 49 | nodeSelector: {} |
| 50 | |
| 51 | affinity: {} |
| 52 | |
| 53 | # probe configuration parameters |
| 54 | liveness: |
| 55 | initialDelaySeconds: 10 |
| 56 | periodSeconds: 10 |
| 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: 10 |
| 63 | periodSeconds: 10 |
| 64 | |
| 65 | #Example service definition with external, internal and node ports. |
| 66 | service: |
| 67 | # The default service name (exposed in the service.yaml) will be the same |
| 68 | # name as the chart. If the service name needs to be overriden (such as |
| 69 | # when a subchart is shared), uncomment the value below. |
| 70 | #name: <service-name-override> |
| 71 | |
| 72 | #Services may use any combination of ports depending on the 'type' of |
| 73 | #service being defined. |
| 74 | type: ClusterIP |
| 75 | externalPort: 9532 |
| 76 | internalPort: 8080 |
| 77 | # nodePort: <replace with unused node port suffix eg. 23> |
| 78 | # optional port name override - default can be defined in service.yaml |
| 79 | #portName: http |
| 80 | |
| 81 | ingress: |
| 82 | enabled: false |
| 83 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 84 | # Resource Limit flavor -By Default using small |
| 85 | flavor: small |
| 86 | # Segregation for Different environment (Small and Large) |
| 87 | resources: |
| 88 | small: |
| 89 | limits: |
| 90 | cpu: 1 |
| 91 | memory: 800Mi |
| 92 | requests: |
| 93 | cpu: 100m |
| 94 | memory: 400Mi |
| 95 | large: |
| 96 | limits: |
| 97 | cpu: 2 |
| 98 | memory: 1600Mi |
| 99 | requests: |
| 100 | cpu: 200m |
| 101 | memory: 800Mi |
| 102 | unlimited: {} |