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: |
efiacor | 7b9a087 | 2019-08-28 21:20:22 +0000 | [diff] [blame] | 19 | loggingDirectory: /var/log/onap/datarouter |
Sylvain Desbureaux | ce3b461 | 2020-03-10 08:45:42 +0100 | [diff] [blame] | 20 | persistence: {} |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
efiacor | f8a5330 | 2020-03-06 12:48:07 +0000 | [diff] [blame] | 26 | image: onap/dmaap/datarouter-node:2.1.5 |
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: |
Sylvain Desbureaux | ce3b461 | 2020-03-10 08:45:42 +0100 | [diff] [blame] | 55 | enabled: true |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 56 | volumeReclaimPolicy: Retain |
Sylvain Desbureaux | 18fe1fe | 2019-08-29 17:30:02 +0200 | [diff] [blame] | 57 | accessMode: ReadWriteOnce |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 58 | mountPath: /dockerdata-nfs |
| 59 | |
| 60 | spoolMountSubPath: data-router/dr-node/spool-data |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 61 | spoolSize: 2Gi |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 62 | spoolPath: /opt/app/datartr/spool |
| 63 | |
| 64 | eventLogsMountSubPath: data-router/dr-node/event-logs |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 65 | eventLogSize: 2Gi |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 66 | eventLogsPath: /opt/app/datartr/logs |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 67 | |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 68 | aafCredsMountSubPath: data-router/dr-node/aaf-props |
| 69 | aafCredsSize: 10M |
| 70 | aafCredsPath: /opt/app/osaaf/local |
| 71 | |
| 72 | #AAF local config |
| 73 | aafConfig: |
efiacor | 6ca697d | 2020-03-06 16:30:05 +0000 | [diff] [blame] | 74 | aafDeployFqi: deployer@people.osaaf.org |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 75 | aafDeployPass: demo123456! |
| 76 | fqdn: dmaap-dr-node |
| 77 | fqi: dmaap-dr-node@dmaap-dr.onap.org |
| 78 | publicFqdn: dmaap-dr.onap.org |
| 79 | cadiLatitude: 0.0 |
| 80 | cadiLongitude: 0.0 |
| 81 | |
| 82 | |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 83 | ingress: |
| 84 | enabled: false |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 85 | service: |
| 86 | - baseaddr: "dmaapdrnode" |
| 87 | name: "dmaap-dr-node" |
| 88 | port: 8443 |
| 89 | config: |
| 90 | ssl: "redirect" |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 91 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 92 | # Resource Limit flavor -By Default using small |
| 93 | flavor: small |
| 94 | # Segregation for Different environment (Small and Large) |
| 95 | resources: |
| 96 | small: |
| 97 | limits: |
| 98 | cpu: 2000m |
| 99 | memory: 4Gi |
| 100 | requests: |
| 101 | cpu: 500m |
| 102 | memory: 1Gi |
| 103 | large: |
| 104 | limits: |
| 105 | cpu: 4000m |
| 106 | memory: 8Gi |
| 107 | requests: |
| 108 | cpu: 1000m |
| 109 | memory: 2Gi |
Emmett Cox | 87d9abe | 2018-11-26 16:57:27 +0000 | [diff] [blame] | 110 | unlimited: {} |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 111 | |
| 112 | config: |
| 113 | # dr node server configuration |
| 114 | dmaapDrNode: |
efiacor | 1788883 | 2019-05-13 16:36:36 +0000 | [diff] [blame] | 115 | servicetype: NodePort |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 116 | name: dmaap-dr-node |
| 117 | externalPort: 8080 |
| 118 | externalPort2: 8443 |
| 119 | internalPort: 8080 |
| 120 | internalPort2: 8443 |
| 121 | portName: dr-node-port |
| 122 | portName2: dr-node-port2 |
efiacor | 1788883 | 2019-05-13 16:36:36 +0000 | [diff] [blame] | 123 | nodePort: 93 |
| 124 | nodePort2: 94 |
efiacor | 9ef176c | 2020-02-20 16:50:30 +0000 | [diff] [blame] | 125 | # dr uses the EELF Logging framework https://github.com/att/EELF |
| 126 | # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF |
| 127 | logLevel: "INFO" |