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