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