Leigh, Phillip (pl876u) | bc8b77d | 2019-03-26 16:03:08 -0400 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
Prudence Au | 721c4f9 | 2019-05-15 22:25:07 -0400 | [diff] [blame] | 25 | image: onap/service-decomposition:1.5.1 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | |
| 28 | # flag to enable debugging - application support required |
| 29 | debugEnabled: false |
| 30 | |
| 31 | # application configuration |
| 32 | # Example: |
| 33 | config: |
| 34 | # Service Decomposition REST Client Configuration |
Geora Barsky | ee8f607 | 2018-11-01 22:51:23 -0400 | [diff] [blame] | 35 | aaiServiceName: aai |
| 36 | aaiPort: 8443 |
| 37 | aaiUsername: AAI |
| 38 | aaiPassword: OBF:1gfr1ev31gg7 |
| 39 | aaiHttpProtocol: https |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 40 | # Basic Authorization Client credentials for Service Decomposition REST service |
| 41 | serviceDecompositionUserId: admin |
| 42 | serviceDecompositionPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 43 | |
| 44 | # default number of instances |
| 45 | replicaCount: 1 |
| 46 | |
| 47 | nodeSelector: {} |
| 48 | |
| 49 | affinity: {} |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 53 | initialDelaySeconds: 30 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | enabled: true |
| 58 | |
| 59 | readiness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 60 | initialDelaySeconds: 30 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 61 | periodSeconds: 10 |
| 62 | |
| 63 | #Example service definition with external, internal and node ports. |
| 64 | service: |
| 65 | # The default service name (exposed in the service.yaml) will be the same |
| 66 | # name as the chart. If the service name needs to be overriden (such as |
| 67 | # when a subchart is shared), uncomment the value below. |
| 68 | #name: <service-name-override> |
| 69 | |
| 70 | #Services may use any combination of ports depending on the 'type' of |
| 71 | #service being defined. |
| 72 | type: ClusterIP |
| 73 | externalPort: 9532 |
| 74 | internalPort: 8080 |
| 75 | # nodePort: <replace with unused node port suffix eg. 23> |
| 76 | # optional port name override - default can be defined in service.yaml |
| 77 | #portName: http |
| 78 | |
| 79 | ingress: |
| 80 | enabled: false |
| 81 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 82 | # Resource Limit flavor -By Default using small |
| 83 | flavor: small |
| 84 | # Segregation for Different environment (Small and Large) |
| 85 | resources: |
| 86 | small: |
| 87 | limits: |
| 88 | cpu: 1 |
| 89 | memory: 800Mi |
| 90 | requests: |
| 91 | cpu: 100m |
| 92 | memory: 400Mi |
| 93 | large: |
| 94 | limits: |
| 95 | cpu: 2 |
| 96 | memory: 1600Mi |
| 97 | requests: |
| 98 | cpu: 200m |
| 99 | memory: 800Mi |
| 100 | unlimited: {} |