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 |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 25 | image: onap/dmaap/datarouter-node:2.1.3 |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | |
| 28 | # flag to enable debugging - application support required |
| 29 | debugEnabled: false |
| 30 | |
| 31 | # application configuration - see parent values chart |
| 32 | |
| 33 | # default number of instances |
| 34 | replicaCount: 1 |
| 35 | |
| 36 | nodeSelector: {} |
| 37 | |
| 38 | affinity: {} |
| 39 | |
| 40 | # probe configuration parameters |
| 41 | liveness: |
| 42 | initialDelaySeconds: 30 |
| 43 | periodSeconds: 10 |
| 44 | # necessary to disable liveness probe when setting breakpoints |
| 45 | # in debugger so K8s doesn't restart unresponsive container |
| 46 | enabled: true |
| 47 | |
| 48 | readiness: |
| 49 | initialDelaySeconds: 30 |
| 50 | periodSeconds: 10 |
| 51 | |
| 52 | ## Persist data to a persitent volume |
| 53 | persistence: |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 54 | volumeReclaimPolicy: Retain |
Sylvain Desbureaux | 18fe1fe | 2019-08-29 17:30:02 +0200 | [diff] [blame] | 55 | accessMode: ReadWriteOnce |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 56 | mountPath: /dockerdata-nfs |
| 57 | |
| 58 | spoolMountSubPath: data-router/dr-node/spool-data |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 59 | spoolSize: 2Gi |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 60 | spoolPath: /opt/app/datartr/spool |
| 61 | |
| 62 | eventLogsMountSubPath: data-router/dr-node/event-logs |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 63 | eventLogSize: 2Gi |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 64 | eventLogsPath: /opt/app/datartr/logs |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 65 | |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 66 | aafCredsMountSubPath: data-router/dr-node/aaf-props |
| 67 | aafCredsSize: 10M |
| 68 | aafCredsPath: /opt/app/osaaf/local |
| 69 | |
| 70 | #AAF local config |
| 71 | aafConfig: |
| 72 | aafDeployFqi: dmaap-dr@dmaap-dr.onap.org |
| 73 | aafDeployPass: demo123456! |
| 74 | fqdn: dmaap-dr-node |
| 75 | fqi: dmaap-dr-node@dmaap-dr.onap.org |
| 76 | publicFqdn: dmaap-dr.onap.org |
| 77 | cadiLatitude: 0.0 |
| 78 | cadiLongitude: 0.0 |
| 79 | |
| 80 | |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 81 | ingress: |
| 82 | enabled: false |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame^] | 83 | service: |
| 84 | - baseaddr: "dmaapdrnode" |
| 85 | name: "dmaap-dr-node" |
| 86 | port: 8443 |
| 87 | config: |
| 88 | ssl: "redirect" |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 89 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 90 | # Resource Limit flavor -By Default using small |
| 91 | flavor: small |
| 92 | # Segregation for Different environment (Small and Large) |
| 93 | resources: |
| 94 | small: |
| 95 | limits: |
| 96 | cpu: 2000m |
| 97 | memory: 4Gi |
| 98 | requests: |
| 99 | cpu: 500m |
| 100 | memory: 1Gi |
| 101 | large: |
| 102 | limits: |
| 103 | cpu: 4000m |
| 104 | memory: 8Gi |
| 105 | requests: |
| 106 | cpu: 1000m |
| 107 | memory: 2Gi |
Emmett Cox | 87d9abe | 2018-11-26 16:57:27 +0000 | [diff] [blame] | 108 | unlimited: {} |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 109 | |
| 110 | config: |
| 111 | # dr node server configuration |
| 112 | dmaapDrNode: |
efiacor | 1788883 | 2019-05-13 16:36:36 +0000 | [diff] [blame] | 113 | servicetype: NodePort |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 114 | name: dmaap-dr-node |
| 115 | externalPort: 8080 |
| 116 | externalPort2: 8443 |
| 117 | internalPort: 8080 |
| 118 | internalPort2: 8443 |
| 119 | portName: dr-node-port |
| 120 | portName2: dr-node-port2 |
efiacor | 1788883 | 2019-05-13 16:36:36 +0000 | [diff] [blame] | 121 | nodePort: 93 |
| 122 | nodePort2: 94 |