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 |
econwar | 4d9f35f | 2019-04-16 08:02:13 +0000 | [diff] [blame] | 20 | busyBoxImage: busybox:1.30 |
| 21 | busyBoxRepository: docker.io |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 22 | |
| 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | # application image |
efiacor | 870d253 | 2019-09-06 13:37:53 +0000 | [diff] [blame] | 27 | image: onap/dmaap/datarouter-node:2.1.2 |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
| 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | # application configuration - see parent values chart |
| 34 | |
| 35 | # default number of instances |
| 36 | replicaCount: 1 |
| 37 | |
| 38 | nodeSelector: {} |
| 39 | |
| 40 | affinity: {} |
| 41 | |
| 42 | # probe configuration parameters |
| 43 | liveness: |
| 44 | initialDelaySeconds: 30 |
| 45 | periodSeconds: 10 |
| 46 | # necessary to disable liveness probe when setting breakpoints |
| 47 | # in debugger so K8s doesn't restart unresponsive container |
| 48 | enabled: true |
| 49 | |
| 50 | readiness: |
| 51 | initialDelaySeconds: 30 |
| 52 | periodSeconds: 10 |
| 53 | |
| 54 | ## Persist data to a persitent volume |
| 55 | persistence: |
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 |
| 61 | spoolSize: 1Gi |
| 62 | spoolPath: /opt/app/datartr/spool |
| 63 | |
| 64 | eventLogsMountSubPath: data-router/dr-node/event-logs |
| 65 | eventLogSize: 1Gi |
| 66 | eventLogsPath: /opt/app/datartr/logs |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 67 | |
| 68 | ingress: |
| 69 | enabled: false |
| 70 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 71 | # Resource Limit flavor -By Default using small |
| 72 | flavor: small |
| 73 | # Segregation for Different environment (Small and Large) |
| 74 | resources: |
| 75 | small: |
| 76 | limits: |
| 77 | cpu: 2000m |
| 78 | memory: 4Gi |
| 79 | requests: |
| 80 | cpu: 500m |
| 81 | memory: 1Gi |
| 82 | large: |
| 83 | limits: |
| 84 | cpu: 4000m |
| 85 | memory: 8Gi |
| 86 | requests: |
| 87 | cpu: 1000m |
| 88 | memory: 2Gi |
Emmett Cox | 87d9abe | 2018-11-26 16:57:27 +0000 | [diff] [blame] | 89 | unlimited: {} |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 90 | |
| 91 | config: |
| 92 | # dr node server configuration |
| 93 | dmaapDrNode: |
efiacor | 1788883 | 2019-05-13 16:36:36 +0000 | [diff] [blame] | 94 | servicetype: NodePort |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 95 | name: dmaap-dr-node |
| 96 | externalPort: 8080 |
| 97 | externalPort2: 8443 |
| 98 | internalPort: 8080 |
| 99 | internalPort2: 8443 |
| 100 | portName: dr-node-port |
| 101 | portName2: dr-node-port2 |
efiacor | 1788883 | 2019-05-13 16:36:36 +0000 | [diff] [blame] | 102 | nodePort: 93 |
| 103 | nodePort2: 94 |