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