Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T USA |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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. |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
| 19 | nodePortPrefixExt: 304 |
| 20 | repository: nexus3.onap.org:10001 |
| 21 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
| 23 | mariadbGalera: |
| 24 | nameOverride: mariadb-galera |
| 25 | serviceName: mariadb-galera |
| 26 | servicePort: "3306" |
| 27 | mariadbRootPassword: secretpassword |
sarada prasad sahoo | ae2c734 | 2019-07-10 14:40:12 +0530 | [diff] [blame] | 28 | #This flag allows SO to instantiate its own mariadb-galera cluster, |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 29 | #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled |
| 30 | localCluster: false |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 31 | persistence: |
| 32 | mountPath: /dockerdata-nfs |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 33 | #This configuration will run the migration. The configurations are for backing up the data |
| 34 | #from DB and then restoring it to the present versions preferred DB. |
| 35 | migration: |
| 36 | enabled: false |
| 37 | dbHost: mariadb-galera |
| 38 | dbPort: 3306 |
| 39 | dbUser: root |
| 40 | dbPassword: secretpassword |
rope252 | c5e14bb | 2020-01-02 11:03:59 +0000 | [diff] [blame] | 41 | msbEnabled: true |
sarada prasad sahoo | ae2c734 | 2019-07-10 14:40:12 +0530 | [diff] [blame] | 42 | |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 43 | ################################################################# |
| 44 | # Application configuration defaults. |
| 45 | ################################################################# |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 46 | repository: nexus3.onap.org:10001 |
seshukm | fb56d71 | 2019-10-14 10:46:52 +0530 | [diff] [blame] | 47 | image: onap/so/api-handler-infra:1.5.3 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 50 | replicaCount: 1 |
| 51 | minReadySeconds: 10 |
| 52 | containerPort: 8080 |
| 53 | logPath: ./logs/apih/ |
| 54 | app: api-handler-infra |
| 55 | service: |
| 56 | type: NodePort |
Mandeep Khinda | dc2b43e | 2018-09-06 16:34:19 +0000 | [diff] [blame] | 57 | nodePort: 77 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 58 | internalPort: 8080 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 59 | externalPort: 8080 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 60 | portName: so-apih-port |
| 61 | updateStrategy: |
| 62 | type: RollingUpdate |
| 63 | maxUnavailable: 1 |
| 64 | maxSurge: 1 |
Alexis de Talhouët | a52efcc | 2018-09-18 16:46:12 -0400 | [diff] [blame] | 65 | # Resource Limit flavor -By Default using small |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 66 | flavor: small |
| 67 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 68 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 69 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 70 | limits: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 71 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 72 | memory: 4Gi |
| 73 | requests: |
| 74 | cpu: 500m |
| 75 | memory: 1Gi |
| 76 | large: |
| 77 | limits: |
| 78 | cpu: 4000m |
| 79 | memory: 8Gi |
| 80 | requests: |
| 81 | cpu: 1000m |
| 82 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 83 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 84 | livenessProbe: |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 85 | path: /manage/health |
| 86 | scheme: HTTP |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 87 | initialDelaySeconds: 600 |
| 88 | periodSeconds: 60 |
| 89 | timeoutSeconds: 10 |
| 90 | successThreshold: 1 |
| 91 | failureThreshold: 3 |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 92 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 93 | nodeSelector: {} |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 94 | affinity: {} |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 95 | |
| 96 | #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster |
| 97 | #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \ |
| 98 | # --set so.global.mariadbGalera.localCluster=true \ |
| 99 | # --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \ |
| 100 | # --set so.global.mariadbGalera.serviceName=so-mariadb-galera |
| 101 | mariadb-galera: |
| 102 | nameOverride: so-mariadb-galera |
| 103 | replicaCount: 1 |
| 104 | service: |
| 105 | name: so-mariadb-galera |
| 106 | persistence: |
| 107 | mountSubPath: so/mariadb-galera/data |
| 108 | enabled: true |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 109 | |
| 110 | ingress: |
| 111 | enabled: false |
| 112 | service: |
| 113 | - baseaddr: "so" |
| 114 | name: "so" |
| 115 | port: 8080 |
| 116 | config: |
rope252 | c5e14bb | 2020-01-02 11:03:59 +0000 | [diff] [blame] | 117 | ssl: "none" |