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 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 25 | mariadbGalera: &mariadbGalera |
| 26 | #This flag allows SO to instantiate its own mariadb-galera cluster |
| 27 | localCluster: false |
| 28 | service: mariadb-galera |
| 29 | internalPort: 3306 |
| 30 | nameOverride: mariadb-galera |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 31 | |
| 32 | subChartsOnly: |
| 33 | enabled: true |
| 34 | |
| 35 | # application image |
| 36 | repository: nexus3.onap.org:10001 |
aosull01 | 9d08724 | 2019-09-09 09:31:54 +0100 | [diff] [blame] | 37 | image: onap/externalapi/nbi:5.0.1 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 38 | pullPolicy: IfNotPresent |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 39 | sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= |
| 40 | aai_authorization: Basic QUFJOkFBSQ== |
| 41 | so_authorization: |
| 42 | |
| 43 | # application configuration |
| 44 | config: |
| 45 | loglevel: INFO |
| 46 | logstashServiceName: log-ls |
| 47 | logstashPort: 5044 |
| 48 | cloudOwner: CloudOwner |
| 49 | ecompInstanceId: OOM |
| 50 | openStackRegion: RegionOne |
Sylvain Desbureaux | 33f8367 | 2018-06-01 14:28:39 +0200 | [diff] [blame] | 51 | openStackVNFTenantId: 31047205ce114b60833b23e400d6a535 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 52 | |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 53 | mariadb-galera: |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 54 | # '&mariadbConfig' means we "store" the values for later use in the file |
| 55 | # with '*mariadbConfig' pointer. |
| 56 | config: &mariadbConfig |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 57 | userName: rene |
| 58 | userPassword: lkjgklqsdareyhjujlnnbvfvdttuiukgpiokqbfsjdhfigquosegombvjfqhb |
| 59 | mariadbRootPassword: dhqjdshjdsguryebvcnbvcvdsqghyjqgktgjjfhjfghbfs |
| 60 | mysqlDatabase: nbi |
| 61 | nameOverride: nbi-galera |
| 62 | service: |
| 63 | name: nbi-galera |
| 64 | portName: nbi-galera |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 65 | internalPort: 3306 |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 66 | replicaCount: 1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 67 | persistence: |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 68 | enabled: true |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 69 | mountSubPath: nbi/maria/data |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 70 | |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 71 | mariadb-init: |
| 72 | config: *mariadbConfig |
| 73 | nameOverride: nbi-config |
| 74 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 75 | mongo: |
| 76 | nameOverride: nbi-mongo |
| 77 | config: |
| 78 | dbName: ServiceOrderDB |
| 79 | service: |
| 80 | name: nbi-mongohost |
| 81 | internalPort: 27017 |
| 82 | nfsprovisionerPrefix: nbi |
| 83 | sdnctlPrefix: nbi |
| 84 | persistence: |
| 85 | mountSubPath: nbi/mongo/data |
| 86 | enabled: true |
| 87 | disableNfsProvisioner: true |
| 88 | |
| 89 | |
| 90 | # default number of instances |
| 91 | replicaCount: 1 |
| 92 | |
| 93 | nodeSelector: {} |
| 94 | |
| 95 | affinity: {} |
| 96 | |
| 97 | # probe configuration parameters |
| 98 | liveness: |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 99 | httpGet: |
MatthieuGeerebaert | 33be15d | 2019-04-04 11:20:34 +0200 | [diff] [blame] | 100 | path: /nbi/api/v4/status |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 101 | port: 8080 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 102 | initialDelaySeconds: 180 |
| 103 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 104 | # necessary to disable liveness probe when setting breakpoints |
| 105 | # in debugger so K8s doesn't restart unresponsive container |
| 106 | enabled: true |
| 107 | |
| 108 | readiness: |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 109 | httpGet: |
MatthieuGeerebaert | 33be15d | 2019-04-04 11:20:34 +0200 | [diff] [blame] | 110 | path: /nbi/api/v4/status |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 111 | port: 8080 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 112 | initialDelaySeconds: 185 |
| 113 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 114 | |
| 115 | service: |
| 116 | type: NodePort |
| 117 | portName: api |
| 118 | name: nbi |
Mandeep Khinda | 9ef4d43 | 2018-05-17 20:16:06 +0000 | [diff] [blame] | 119 | nodePort: 74 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 120 | internalPort: 8080 |
| 121 | |
| 122 | ingress: |
| 123 | enabled: false |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 124 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 125 | flavor: small |
| 126 | # Segregation for Different environment (Small and Large) |
Eric Debeau | 33774ef | 2018-09-11 12:23:07 +0000 | [diff] [blame] | 127 | resources: |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 128 | small: |
| 129 | limits: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 130 | cpu: 1 |
| 131 | memory: 2Gi |
| 132 | requests: |
| 133 | cpu: 100m |
| 134 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 135 | large: |
| 136 | limits: |
| 137 | cpu: 2 |
| 138 | memory: 4Gi |
| 139 | requests: |
| 140 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 141 | memory: 2Gi |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 142 | unlimited: {} |