Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +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 | c07e737 | 2018-12-17 17:59:43 +0000 | [diff] [blame] | 27 | image: onap/pomba-network-discovery-context-builder:1.4.0-SNAPSHOT-latest |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +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 | # Network Discovery Context Builder REST Service |
| 37 | networkDiscoveryCtxBuilderHttpProtocol: http |
jmac | 8a99d14 | 2018-09-05 17:55:10 +0000 | [diff] [blame] | 38 | networkDiscoveryCtxBuilderPort: 9530 |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 39 | networkDiscoveryCtxBuilderUserId: admin |
| 40 | networkDiscoveryCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 41 | networkDiscoveryCtxBuilderResourceList: vnfcs,vservers,l3-networks |
| 42 | |
| 43 | # Service Decomposition REST Client Configuration |
| 44 | serviceDecompositionHttpProtocol: http |
| 45 | serviceDecompositionServiceName: pomba-servicedecomposition |
jmac | 8a99d14 | 2018-09-05 17:55:10 +0000 | [diff] [blame] | 46 | serviceDecompositionPort: 9532 |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 47 | serviceDecompositionInstancePath: /service-decomposition/service/context |
| 48 | #Basic Authorization Client credentials for Service Decomposition REST service |
| 49 | serviceDecompositionUserId: admin |
| 50 | serviceDecompositionPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 51 | |
| 52 | # Network Discovery Micro Service REST Client Configuration |
| 53 | networkDiscoveryServiceName: pomba-networkdiscovery |
jmac | 8a99d14 | 2018-09-05 17:55:10 +0000 | [diff] [blame] | 54 | networkDiscoveryPort: 9531 |
Tait,Trevor(rt0435) | c40d757 | 2018-12-10 11:37:25 -0500 | [diff] [blame] | 55 | networkDiscoveryHttpProtocol: https |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 56 | networkDiscoveryPath: /network-discovery/v1/network/resource |
| 57 | # Wait for Network Discovery MicroService response in milliseconds |
| 58 | networkDiscoveryTimeOutInMilliseconds: 60000 |
| 59 | # Basic Authorization credentials for Network Discovery Micro Service Rest Service |
| 60 | networkDiscoveryUserId: admin |
| 61 | networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 62 | |
| 63 | # default number of instances |
| 64 | replicaCount: 1 |
| 65 | |
| 66 | nodeSelector: {} |
| 67 | |
| 68 | affinity: {} |
| 69 | |
| 70 | # probe configuration parameters |
| 71 | liveness: |
| 72 | initialDelaySeconds: 10 |
| 73 | periodSeconds: 10 |
| 74 | # necessary to disable liveness probe when setting breakpoints |
| 75 | # in debugger so K8s doesn't restart unresponsive container |
| 76 | enabled: true |
| 77 | |
| 78 | readiness: |
| 79 | initialDelaySeconds: 10 |
| 80 | periodSeconds: 10 |
| 81 | |
| 82 | #Example service definition with external, internal and node ports. |
| 83 | service: |
| 84 | # The default service name (exposed in the service.yaml) will be the same |
| 85 | # name as the chart. If the service name needs to be overriden (such as |
| 86 | # when a subchart is shared), uncomment the value below. |
| 87 | #name: <service-name-override> |
| 88 | |
| 89 | #Services may use any combination of ports depending on the 'type' of |
| 90 | #service being defined. |
| 91 | type: ClusterIP |
| 92 | externalPort: 9530 |
| 93 | internalPort: 8080 |
| 94 | # nodePort: <replace with unused node port suffix eg. 23> |
| 95 | # optional port name override - default can be defined in service.yaml |
| 96 | #portName: http |
| 97 | |
| 98 | ingress: |
| 99 | enabled: false |
| 100 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 101 | # Resource Limit flavor -By Default using small |
| 102 | flavor: small |
| 103 | # Segregation for Different environment (Small and Large) |
| 104 | resources: |
| 105 | small: |
| 106 | limits: |
| 107 | cpu: 1 |
| 108 | memory: 800Mi |
| 109 | requests: |
| 110 | cpu: 100m |
| 111 | memory: 400Mi |
| 112 | large: |
| 113 | limits: |
| 114 | cpu: 2 |
| 115 | memory: 1600Mi |
| 116 | requests: |
| 117 | cpu: 200m |
| 118 | memory: 800Mi |
Tait,Trevor(rt0435) | c40d757 | 2018-12-10 11:37:25 -0500 | [diff] [blame] | 119 | unlimited: {} |