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 |
Norm Traxler | 7d79d11 | 2018-11-29 19:23:56 +0000 | [diff] [blame^] | 27 | image: onap/network-discovery:latest |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +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 Micro Service REST Client Configuration |
| 37 | # Basic Authorization credentials for Network Discovery Micro Service Rest Service |
| 38 | networkDiscoveryUserId: admin |
| 39 | networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 40 | |
Norm Traxler | 7d79d11 | 2018-11-29 19:23:56 +0000 | [diff] [blame^] | 41 | # Basic Authorization credentials for Openstack Rest APIs |
| 42 | openstackIdentityUrl: http://10.69.36.11:5000/v3/auth/tokens |
| 43 | openstackUserId: admin |
| 44 | openstackPassword: OBF:1w951ugg1vun1uha1w8l |
| 45 | |
| 46 | # Openstack Rest API URLs: |
| 47 | openstackTypeVserverUrl: http://10.69.36.11:8774/v2.1/servers/{0} |
| 48 | openstackTypeL3NetworkUrl: http://10.69.36.11:9696/v2.0/networks/{0} |
| 49 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 50 | # default number of instances |
| 51 | replicaCount: 1 |
| 52 | |
| 53 | nodeSelector: {} |
| 54 | |
| 55 | affinity: {} |
| 56 | |
| 57 | # probe configuration parameters |
| 58 | liveness: |
| 59 | initialDelaySeconds: 10 |
| 60 | periodSeconds: 10 |
| 61 | # necessary to disable liveness probe when setting breakpoints |
| 62 | # in debugger so K8s doesn't restart unresponsive container |
| 63 | enabled: true |
| 64 | |
| 65 | readiness: |
| 66 | initialDelaySeconds: 10 |
| 67 | periodSeconds: 10 |
| 68 | |
| 69 | #Example service definition with external, internal and node ports. |
| 70 | service: |
| 71 | # The default service name (exposed in the service.yaml) will be the same |
| 72 | # name as the chart. If the service name needs to be overriden (such as |
| 73 | # when a subchart is shared), uncomment the value below. |
| 74 | #name: <service-name-override> |
| 75 | |
| 76 | #Services may use any combination of ports depending on the 'type' of |
| 77 | #service being defined. |
Norm Traxler | 7d79d11 | 2018-11-29 19:23:56 +0000 | [diff] [blame^] | 78 | type: NodePort |
| 79 | name: pomba-networkdiscovery |
| 80 | externalPort: 8080 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 81 | internalPort: 8080 |
Norm Traxler | 7d79d11 | 2018-11-29 19:23:56 +0000 | [diff] [blame^] | 82 | nodePort: 99 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 83 | # nodePort: <replace with unused node port suffix eg. 23> |
| 84 | # optional port name override - default can be defined in service.yaml |
| 85 | #portName: http |
| 86 | |
| 87 | ingress: |
| 88 | enabled: false |
| 89 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 90 | # Resource Limit flavor -By Default using small |
| 91 | flavor: small |
| 92 | # Segregation for Different environment (Small and Large) |
| 93 | resources: |
| 94 | small: |
| 95 | limits: |
| 96 | cpu: 1 |
| 97 | memory: 800Mi |
| 98 | requests: |
| 99 | cpu: 10m |
| 100 | memory: 400Mi |
| 101 | large: |
| 102 | limits: |
| 103 | cpu: 2 |
| 104 | memory: 1600Mi |
| 105 | requests: |
| 106 | cpu: 20m |
| 107 | memory: 800Mi |
Norm Traxler | 7d79d11 | 2018-11-29 19:23:56 +0000 | [diff] [blame^] | 108 | unlimited: {} |