Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +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 |
Norm Traxler | 7873505 | 2019-04-10 14:51:10 +0100 | [diff] [blame^] | 27 | image: onap/pomba-aai-context-builder:1.4.0 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
| 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | # application configuration |
| 34 | # Example: |
| 35 | config: |
| 36 | aaiServiceName: aai |
| 37 | aaiPort: 8443 |
| 38 | aaiUsername: AAI |
| 39 | aaiPassword: OBF:1gfr1ev31gg7 |
Geora Barsky | 288fc89 | 2018-08-23 10:39:16 -0400 | [diff] [blame] | 40 | aaiHttpProtocol: https |
Geora Barsky | 58f5c4f | 2018-11-02 14:41:10 -0400 | [diff] [blame] | 41 | aaiConnectionTimeout: 60000 |
| 42 | aaiReadTimeout: 60000 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 43 | # HTTP Basic Authorization credentials for Rest Service API |
| 44 | httpUserId: admin |
| 45 | httpPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 46 | |
| 47 | |
| 48 | # default number of instances |
| 49 | replicaCount: 1 |
| 50 | |
| 51 | nodeSelector: {} |
| 52 | |
| 53 | affinity: {} |
| 54 | |
| 55 | # probe configuration parameters |
| 56 | liveness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 57 | initialDelaySeconds: 30 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 58 | periodSeconds: 10 |
| 59 | # necessary to disable liveness probe when setting breakpoints |
| 60 | # in debugger so K8s doesn't restart unresponsive container |
| 61 | enabled: true |
| 62 | |
| 63 | readiness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 64 | initialDelaySeconds: 30 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 65 | periodSeconds: 10 |
| 66 | |
| 67 | #Example service definition with external, internal and node ports. |
| 68 | service: |
| 69 | # The default service name (exposed in the service.yaml) will be the same |
| 70 | # name as the chart. If the service name needs to be overriden (such as |
| 71 | # when a subchart is shared), uncomment the value below. |
| 72 | #name: <service-name-override> |
| 73 | |
| 74 | #Services may use any combination of ports depending on the 'type' of |
| 75 | #service being defined. |
| 76 | type: ClusterIP |
| 77 | externalPort: 9530 |
| 78 | internalPort: 8080 |
| 79 | # nodePort: <replace with unused node port suffix eg. 23> |
| 80 | # optional port name override - default can be defined in service.yaml |
| 81 | #portName: http |
| 82 | |
| 83 | ingress: |
| 84 | enabled: false |
| 85 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 86 | # Resource Limit flavor -By Default using small |
| 87 | flavor: small |
| 88 | # Segregation for Different environment (Small and Large) |
| 89 | resources: |
| 90 | small: |
| 91 | limits: |
| 92 | cpu: 1 |
| 93 | memory: 800Mi |
| 94 | requests: |
| 95 | cpu: 100m |
| 96 | memory: 400Mi |
| 97 | large: |
| 98 | limits: |
| 99 | cpu: 2 |
| 100 | memory: 1600Mi |
| 101 | requests: |
| 102 | cpu: 200m |
| 103 | memory: 800Mi |
| 104 | unlimited: {} |