Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 1 | # Copyright © 2018 Orange |
Prateekinlinux | 445a18e | 2018-08-01 06:48:33 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
| 21 | readinessRepository: oomk8s |
| 22 | readinessImage: readiness-check:1.1.0 |
| 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | subChartsOnly: |
| 27 | enabled: true |
| 28 | |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
aosull01 | 9d08724 | 2019-09-09 09:31:54 +0100 | [diff] [blame] | 31 | image: onap/externalapi/nbi:5.0.1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= |
| 34 | aai_authorization: Basic QUFJOkFBSQ== |
| 35 | so_authorization: |
| 36 | |
| 37 | # application configuration |
| 38 | config: |
| 39 | loglevel: INFO |
| 40 | logstashServiceName: log-ls |
| 41 | logstashPort: 5044 |
| 42 | cloudOwner: CloudOwner |
| 43 | ecompInstanceId: OOM |
| 44 | openStackRegion: RegionOne |
Sylvain Desbureaux | 33f8367 | 2018-06-01 14:28:39 +0200 | [diff] [blame] | 45 | openStackVNFTenantId: 31047205ce114b60833b23e400d6a535 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 46 | |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 47 | mariadb-galera: |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 48 | config: |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 49 | userName: rene |
| 50 | userPassword: lkjgklqsdareyhjujlnnbvfvdttuiukgpiokqbfsjdhfigquosegombvjfqhb |
| 51 | mariadbRootPassword: dhqjdshjdsguryebvcnbvcvdsqghyjqgktgjjfhjfghbfs |
| 52 | mysqlDatabase: nbi |
| 53 | nameOverride: nbi-galera |
| 54 | service: |
| 55 | name: nbi-galera |
| 56 | portName: nbi-galera |
| 57 | replicaCount: 1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 58 | persistence: |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 59 | enabled: true |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 60 | mountSubPath: nbi/maria/data |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 61 | |
| 62 | mongo: |
| 63 | nameOverride: nbi-mongo |
| 64 | config: |
| 65 | dbName: ServiceOrderDB |
| 66 | service: |
| 67 | name: nbi-mongohost |
| 68 | internalPort: 27017 |
| 69 | nfsprovisionerPrefix: nbi |
| 70 | sdnctlPrefix: nbi |
| 71 | persistence: |
| 72 | mountSubPath: nbi/mongo/data |
| 73 | enabled: true |
| 74 | disableNfsProvisioner: true |
| 75 | |
| 76 | |
| 77 | # default number of instances |
| 78 | replicaCount: 1 |
| 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 86 | httpGet: |
MatthieuGeerebaert | 33be15d | 2019-04-04 11:20:34 +0200 | [diff] [blame] | 87 | path: /nbi/api/v4/status |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 88 | port: 8080 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 89 | initialDelaySeconds: 180 |
| 90 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 91 | # necessary to disable liveness probe when setting breakpoints |
| 92 | # in debugger so K8s doesn't restart unresponsive container |
| 93 | enabled: true |
| 94 | |
| 95 | readiness: |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 96 | httpGet: |
MatthieuGeerebaert | 33be15d | 2019-04-04 11:20:34 +0200 | [diff] [blame] | 97 | path: /nbi/api/v4/status |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 98 | port: 8080 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 99 | initialDelaySeconds: 185 |
| 100 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 101 | |
| 102 | service: |
| 103 | type: NodePort |
| 104 | portName: api |
| 105 | name: nbi |
Mandeep Khinda | 9ef4d43 | 2018-05-17 20:16:06 +0000 | [diff] [blame] | 106 | nodePort: 74 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 107 | internalPort: 8080 |
| 108 | |
| 109 | ingress: |
| 110 | enabled: false |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 111 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 112 | flavor: small |
| 113 | # Segregation for Different environment (Small and Large) |
Eric Debeau | 33774ef | 2018-09-11 12:23:07 +0000 | [diff] [blame] | 114 | resources: |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 115 | small: |
| 116 | limits: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 117 | cpu: 1 |
| 118 | memory: 2Gi |
| 119 | requests: |
| 120 | cpu: 100m |
| 121 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 122 | large: |
| 123 | limits: |
| 124 | cpu: 2 |
| 125 | memory: 4Gi |
| 126 | requests: |
| 127 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 128 | memory: 2Gi |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 129 | unlimited: {} |