Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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 |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 20 | loggingDirectory: /opt/app/datartr/logs |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
efiacor | 7b9a087 | 2019-08-28 21:20:22 +0000 | [diff] [blame] | 26 | image: onap/dmaap/datarouter-prov:2.1.1 |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | # flag to enable debugging - application support required |
| 30 | debugEnabled: false |
| 31 | |
| 32 | # application configuration - see parent values chart |
| 33 | |
| 34 | # default number of instances |
| 35 | replicaCount: 1 |
| 36 | |
| 37 | nodeSelector: {} |
| 38 | |
| 39 | affinity: {} |
| 40 | |
| 41 | # probe configuration parameters |
| 42 | liveness: |
| 43 | initialDelaySeconds: 30 |
| 44 | periodSeconds: 10 |
| 45 | # necessary to disable liveness probe when setting breakpoints |
| 46 | # in debugger so K8s doesn't restart unresponsive container |
| 47 | enabled: true |
| 48 | |
| 49 | readiness: |
| 50 | initialDelaySeconds: 30 |
| 51 | periodSeconds: 10 |
| 52 | |
| 53 | ## Persist data to a persitent volume |
| 54 | persistence: |
| 55 | enabled: false |
| 56 | |
| 57 | ingress: |
| 58 | enabled: false |
| 59 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 60 | # Resource Limit flavor -By Default using small |
| 61 | flavor: small |
| 62 | # Segregation for Different environment (Small and Large) |
| 63 | resources: |
| 64 | small: |
| 65 | limits: |
| 66 | cpu: 2000m |
| 67 | memory: 4Gi |
| 68 | requests: |
| 69 | cpu: 500m |
| 70 | memory: 1Gi |
| 71 | large: |
| 72 | limits: |
| 73 | cpu: 4000m |
| 74 | memory: 8Gi |
| 75 | requests: |
| 76 | cpu: 1000m |
| 77 | memory: 2Gi |
Emmett Cox | 87d9abe | 2018-11-26 16:57:27 +0000 | [diff] [blame] | 78 | unlimited: {} |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 79 | |
| 80 | config: |
| 81 | # dr provisioning server configuration |
| 82 | dmaapDrProv: |
| 83 | servicetype: NodePort |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 84 | internalPort: 8080 |
| 85 | internalPort2: 8443 |
| 86 | portName: dr-prov-port |
| 87 | portName2: dr-prov-port2 |
| 88 | nodePort: 59 |
| 89 | nodePort2: 69 |
| 90 | # dr-prov db configuration |
| 91 | dmaapDrDb: |
| 92 | mariadbServiceName: dmaap-dr-db-svc |
| 93 | mariadbServicePort: 3306 |
| 94 | mariadbContName: dmaap-dr-db |
| 95 | |
| 96 | # mariadb-galera configuration |
| 97 | mariadb: |
| 98 | name: dmaap-dr-db |
| 99 | nameOverride: dmaap-dr-db |
| 100 | replicaCount: 2 |
| 101 | config: |
| 102 | mariadbRootPassword: datarouter |
| 103 | userName: datarouter |
| 104 | userPassword: datarouter |
| 105 | mysqlDatabase: datarouter |
| 106 | service: |
| 107 | name: dmaap-dr-db-svc |
| 108 | portName: dmaap-dr-db-svc |
| 109 | nfsprovisionerPrefix: dmaap-dr-db |
| 110 | persistence: |
| 111 | size: 1Gi |
| 112 | mountSubPath: data-router/dr-db-data |
Yang Xu | 4ec3d01 | 2019-04-24 12:25:39 -0400 | [diff] [blame] | 113 | disableNfsProvisioner: true |