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 |
su622b | 97c8c03 | 2019-08-16 03:50:57 -0400 | [diff] [blame] | 33 | image: onap/dmaap/kafka111:1.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 |
sunil.unnava | 6797005 | 2019-04-10 13:09:52 -0400 | [diff] [blame] | 36 | busyBoxImage: busybox:1.30 |
| 37 | busyBoxRepository: docker.io |
| 38 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 39 | |
| 40 | zookeeper: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 41 | name: message-router-zookeeper |
| 42 | port: 2181 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 43 | |
| 44 | # flag to enable debugging - application support required |
| 45 | debugEnabled: false |
| 46 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 47 | # default number of instances |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 48 | replicaCount: 3 |
| 49 | |
sunil.unnava | 02f077e | 2019-03-28 20:50:29 -0400 | [diff] [blame] | 50 | #Kafka custom authorizer class name |
| 51 | kafkaCustomAuthorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer |
| 52 | deleteTopicEnable: true |
| 53 | |
| 54 | # To access Kafka outside cluster, this value must be set to hard and the number of nodes in K8S cluster must be equal or greater then replica count |
| 55 | podAntiAffinityType: soft |
| 56 | |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 57 | # defult partitions |
| 58 | defaultpartitions: 3 |
| 59 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 60 | nodeSelector: {} |
| 61 | |
Matthieu Cauffiez | c3d5a56 | 2019-03-12 11:07:01 -0400 | [diff] [blame] | 62 | nodeAffinity: {} |
| 63 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 64 | affinity: {} |
| 65 | |
Matthieu Cauffiez | 767fd66 | 2019-03-12 13:47:52 -0400 | [diff] [blame] | 66 | tolerations: {} |
| 67 | |
sunil.unnava | 02f077e | 2019-03-28 20:50:29 -0400 | [diff] [blame] | 68 | |
| 69 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 70 | # probe configuration parameters |
| 71 | liveness: |
Yang Xu | ab585b5 | 2019-02-26 17:47:58 -0500 | [diff] [blame] | 72 | initialDelaySeconds: 60 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 73 | periodSeconds: 10 |
su622b | 8b763cd | 2019-10-14 15:37:37 -0400 | [diff] [blame] | 74 | timeoutSeconds: 1 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 75 | # necessary to disable liveness probe when setting breakpoints |
| 76 | # in debugger so K8s doesn't restart unresponsive container |
| 77 | enabled: true |
| 78 | |
| 79 | readiness: |
Yang Xu | ab585b5 | 2019-02-26 17:47:58 -0500 | [diff] [blame] | 80 | initialDelaySeconds: 60 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 81 | periodSeconds: 10 |
su622b | 8b763cd | 2019-10-14 15:37:37 -0400 | [diff] [blame] | 82 | timeoutSeconds: 1 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 83 | |
| 84 | ## Persist data to a persitent volume |
| 85 | persistence: |
| 86 | enabled: true |
| 87 | |
| 88 | ## A manually managed Persistent Volume and Claim |
| 89 | ## Requires persistence.enabled: true |
| 90 | ## If defined, PVC must be created manually before volume will be bound |
| 91 | # existingClaim: |
| 92 | volumeReclaimPolicy: Retain |
| 93 | |
| 94 | ## database data Persistent Volume Storage Class |
| 95 | ## If defined, storageClassName: <storageClass> |
| 96 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 97 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 98 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 99 | ## GKE, AWS & OpenStack) |
| 100 | ## |
| 101 | # storageClass: "-" |
Sylvain Desbureaux | 18fe1fe | 2019-08-29 17:30:02 +0200 | [diff] [blame] | 102 | accessMode: ReadWriteOnce |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 103 | size: 2Gi |
| 104 | mountPath: /dockerdata-nfs |
| 105 | mountSubPath: message-router/data-kafka |
| 106 | |
| 107 | service: |
sunil.unnava | 02f077e | 2019-03-28 20:50:29 -0400 | [diff] [blame] | 108 | type: NodePort |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 109 | name: message-router-kafka |
| 110 | portName: message-router-kafka |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 111 | internalPort: 9092 |
sunil.unnava | 02f077e | 2019-03-28 20:50:29 -0400 | [diff] [blame] | 112 | externalPort: 9093 |
| 113 | baseNodePort: 30490 |
| 114 | |
Sylvain Desbureaux | 18fe1fe | 2019-08-29 17:30:02 +0200 | [diff] [blame] | 115 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 116 | |
| 117 | ingress: |
| 118 | enabled: false |
| 119 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 120 | # Resource Limit flavor -By Default using small |
| 121 | flavor: small |
| 122 | # Segregation for Different environment (Small and Large) |
| 123 | resources: |
| 124 | small: |
| 125 | limits: |
| 126 | cpu: 2000m |
| 127 | memory: 4Gi |
| 128 | requests: |
| 129 | cpu: 500m |
| 130 | memory: 1Gi |
| 131 | large: |
| 132 | limits: |
| 133 | cpu: 4000m |
| 134 | memory: 8Gi |
| 135 | requests: |
| 136 | cpu: 1000m |
| 137 | memory: 2Gi |
| 138 | unlimited: {} |