pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 25 | persistence: {} |
Mandeep Khinda | ca210a9 | 2018-05-14 20:55:52 +0000 | [diff] [blame] | 26 | ubuntuInitRepository: registry.hub.docker.com |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Application configuration defaults. |
| 30 | ################################################################# |
| 31 | # application image |
sunil unnava | 4b2c4e0 | 2018-08-29 19:11:26 -0400 | [diff] [blame] | 32 | repository: nexus3.onap.org:10001 |
| 33 | image: onap/dmaap/kafka01101:0.0.1 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 34 | pullPolicy: Always |
Mandeep Khinda | ca210a9 | 2018-05-14 20:55:52 +0000 | [diff] [blame] | 35 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 36 | |
| 37 | zookeeper: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 38 | name: message-router-zookeeper |
| 39 | port: 2181 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 40 | |
| 41 | # flag to enable debugging - application support required |
| 42 | debugEnabled: false |
| 43 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 44 | # default number of instances |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 45 | replicaCount: 3 |
| 46 | |
| 47 | # defult partitions |
| 48 | defaultpartitions: 3 |
| 49 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 50 | nodeSelector: {} |
| 51 | |
Matthieu Cauffiez | c3d5a56 | 2019-03-12 11:07:01 -0400 | [diff] [blame^] | 52 | nodeAffinity: {} |
| 53 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 54 | affinity: {} |
| 55 | |
| 56 | # probe configuration parameters |
| 57 | liveness: |
Yang Xu | ab585b5 | 2019-02-26 17:47:58 -0500 | [diff] [blame] | 58 | initialDelaySeconds: 60 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 59 | periodSeconds: 10 |
| 60 | # necessary to disable liveness probe when setting breakpoints |
| 61 | # in debugger so K8s doesn't restart unresponsive container |
| 62 | enabled: true |
| 63 | |
| 64 | readiness: |
Yang Xu | ab585b5 | 2019-02-26 17:47:58 -0500 | [diff] [blame] | 65 | initialDelaySeconds: 60 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 66 | periodSeconds: 10 |
| 67 | |
| 68 | ## Persist data to a persitent volume |
| 69 | persistence: |
| 70 | enabled: true |
| 71 | |
| 72 | ## A manually managed Persistent Volume and Claim |
| 73 | ## Requires persistence.enabled: true |
| 74 | ## If defined, PVC must be created manually before volume will be bound |
| 75 | # existingClaim: |
| 76 | volumeReclaimPolicy: Retain |
| 77 | |
| 78 | ## database data Persistent Volume Storage Class |
| 79 | ## If defined, storageClassName: <storageClass> |
| 80 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 81 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 82 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 83 | ## GKE, AWS & OpenStack) |
| 84 | ## |
| 85 | # storageClass: "-" |
| 86 | accessMode: ReadWriteMany |
| 87 | size: 2Gi |
| 88 | mountPath: /dockerdata-nfs |
| 89 | mountSubPath: message-router/data-kafka |
| 90 | |
| 91 | service: |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 92 | type: ClusterIP |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 93 | name: message-router-kafka |
| 94 | portName: message-router-kafka |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 95 | internalPort: 9092 |
| 96 | externalPort: 9092 |
| 97 | |
| 98 | ingress: |
| 99 | enabled: false |
| 100 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 101 | # Resource Limit flavor -By Default using small |
| 102 | flavor: small |
| 103 | # Segregation for Different environment (Small and Large) |
| 104 | resources: |
| 105 | small: |
| 106 | limits: |
| 107 | cpu: 2000m |
| 108 | memory: 4Gi |
| 109 | requests: |
| 110 | cpu: 500m |
| 111 | memory: 1Gi |
| 112 | large: |
| 113 | limits: |
| 114 | cpu: 4000m |
| 115 | memory: 8Gi |
| 116 | requests: |
| 117 | cpu: 1000m |
| 118 | memory: 2Gi |
| 119 | unlimited: {} |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 120 | |