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 |
Mandeep Khinda | ca210a9 | 2018-05-14 20:55:52 +0000 | [diff] [blame] | 25 | ubuntuInitRepository: registry.hub.docker.com |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 26 | persistence: {} |
| 27 | |
| 28 | ################################################################# |
| 29 | # Application configuration defaults. |
| 30 | ################################################################# |
| 31 | # application image |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 32 | repository: nexus3.onap.org:10001 |
sunil unnava | 88dd45a | 2019-01-30 09:24:22 -0500 | [diff] [blame] | 33 | image: onap/dmaap/zookeeper:2.0.0 |
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 | # flag to enable debugging - application support required |
| 38 | debugEnabled: false |
| 39 | |
| 40 | # application configuration |
Mandeep Khinda | ca210a9 | 2018-05-14 20:55:52 +0000 | [diff] [blame] | 41 | config: |
| 42 | # gerrit branch where the latest code is checked in |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 43 | gerritBranch: master |
Mandeep Khinda | ca210a9 | 2018-05-14 20:55:52 +0000 | [diff] [blame] | 44 | # gerrit project where the latest code is checked in |
| 45 | gerritProject: http://gerrit.onap.org/r/dmaap/messagerouter/messageservice.git |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 46 | |
| 47 | # default number of instances |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 48 | replicaCount: 3 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 49 | |
| 50 | nodeSelector: {} |
| 51 | |
| 52 | affinity: {} |
| 53 | |
Matthieu Cauffiez | 767fd66 | 2019-03-12 13:47:52 -0400 | [diff] [blame^] | 54 | tolerations: {} |
| 55 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 56 | # probe configuration parameters |
| 57 | liveness: |
| 58 | initialDelaySeconds: 10 |
| 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: |
| 65 | initialDelaySeconds: 10 |
| 66 | periodSeconds: 10 |
| 67 | |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 68 | #Zookeeper properties |
| 69 | zk: |
| 70 | initLimit: 5 |
| 71 | syncLimit: 2 |
| 72 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 73 | ## Persist data to a persitent volume |
| 74 | persistence: |
| 75 | enabled: true |
| 76 | |
| 77 | ## A manually managed Persistent Volume and Claim |
| 78 | ## Requires persistence.enabled: true |
| 79 | ## If defined, PVC must be created manually before volume will be bound |
| 80 | # existingClaim: |
| 81 | volumeReclaimPolicy: Retain |
| 82 | |
| 83 | ## database data Persistent Volume Storage Class |
| 84 | ## If defined, storageClassName: <storageClass> |
| 85 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 86 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 87 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 88 | ## GKE, AWS & OpenStack) |
| 89 | ## |
| 90 | # storageClass: "-" |
| 91 | accessMode: ReadWriteMany |
| 92 | size: 2Gi |
| 93 | mountPath: /dockerdata-nfs |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 94 | mountSubPath: message-router/data-zookeeper |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 95 | |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 96 | |
| 97 | rollingUpdate: |
| 98 | maxUnavailable: 1 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 99 | service: |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 100 | type: ClusterIP |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 101 | name: message-router-zookeeper |
| 102 | portName: message-router-zookeeper |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 103 | clientPortName: client |
| 104 | clientPort: 2181 |
| 105 | serverPortName: server |
| 106 | serverPort: 2888 |
| 107 | leaderElectionPortName: leader-election |
| 108 | leaderElectionPort: 3888 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 109 | |
| 110 | ingress: |
| 111 | enabled: false |
| 112 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 113 | # Resource Limit flavor -By Default using small |
| 114 | flavor: small |
| 115 | # Segregation for Different environment (Small and Large) |
| 116 | resources: |
| 117 | small: |
| 118 | limits: |
| 119 | cpu: 2000m |
| 120 | memory: 4Gi |
| 121 | requests: |
| 122 | cpu: 500m |
| 123 | memory: 1Gi |
| 124 | large: |
| 125 | limits: |
| 126 | cpu: 4000m |
| 127 | memory: 8Gi |
| 128 | requests: |
| 129 | cpu: 1000m |
| 130 | memory: 2Gi |
| 131 | unlimited: {} |