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