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: {} |
su622b | e10aee3 | 2020-03-10 09:44:35 -0400 | [diff] [blame] | 27 | envsubstImage: dibi/envsubst |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 28 | |
| 29 | ################################################################# |
| 30 | # Application configuration defaults. |
| 31 | ################################################################# |
| 32 | # application image |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 33 | repository: nexus3.onap.org:10001 |
su622b | 08f34d9 | 2020-03-27 10:23:32 -0400 | [diff] [blame] | 34 | image: onap/dmaap/zookeeper:6.0.3 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 35 | pullPolicy: Always |
Mandeep Khinda | ca210a9 | 2018-05-14 20:55:52 +0000 | [diff] [blame] | 36 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
sunil.unnava | 176d278 | 2019-04-15 16:01:38 -0400 | [diff] [blame] | 37 | busyBoxImage: busybox:1.30 |
| 38 | busyBoxRepository: docker.io |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 39 | |
| 40 | # flag to enable debugging - application support required |
| 41 | debugEnabled: false |
| 42 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 43 | |
| 44 | # default number of instances |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 45 | replicaCount: 3 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 46 | |
| 47 | nodeSelector: {} |
| 48 | |
Matthieu Cauffiez | c3d5a56 | 2019-03-12 11:07:01 -0400 | [diff] [blame] | 49 | nodeAffinity: {} |
| 50 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 51 | affinity: {} |
| 52 | |
Matthieu Cauffiez | 767fd66 | 2019-03-12 13:47:52 -0400 | [diff] [blame] | 53 | tolerations: {} |
| 54 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 55 | # probe configuration parameters |
| 56 | liveness: |
su622b | e10aee3 | 2020-03-10 09:44:35 -0400 | [diff] [blame] | 57 | initialDelaySeconds: 40 |
| 58 | periodSeconds: 20 |
| 59 | timeoutSeconds: 10 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 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: |
su622b | e10aee3 | 2020-03-10 09:44:35 -0400 | [diff] [blame] | 65 | initialDelaySeconds: 40 |
| 66 | periodSeconds: 20 |
| 67 | timeoutSeconds: 10 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 68 | |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 69 | #Zookeeper properties |
su622b | e10aee3 | 2020-03-10 09:44:35 -0400 | [diff] [blame] | 70 | zkConfig: |
| 71 | tickTime: 2000 |
| 72 | syncLimit: 5 |
| 73 | initLimit: 10 |
| 74 | maxClientCnxns: 200 |
| 75 | autoPurgeSnapRetainCount: 3 |
| 76 | autoPurgePurgeInterval: 24 |
| 77 | heapOptions: -Xmx2G -Xms2G |
su622b | 08f34d9 | 2020-03-27 10:23:32 -0400 | [diff] [blame] | 78 | kafkaOpts: -Djava.security.auth.login.config=/etc/zookeeper/secrets/jaas/zk_server_jaas.conf -Dzookeeper.kerberos.removeHostFromPrincipal=true -Dzookeeper.kerberos.removeRealmFromPrincipal=true -Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider -Dzookeeper.requireClientAuthScheme=sasl |
su622b | e10aee3 | 2020-03-10 09:44:35 -0400 | [diff] [blame] | 79 | clientPort: 2181 |
| 80 | |
| 81 | jmx: |
| 82 | port: 5555 |
| 83 | |
| 84 | prometheus: |
| 85 | jmx: |
| 86 | enabled: false |
| 87 | image: solsson/kafka-prometheus-jmx-exporter@sha256 |
| 88 | imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143 |
| 89 | imageRepository: docker.io |
| 90 | port: 5556 |
| 91 | |
| 92 | jaas: |
| 93 | config: |
| 94 | zkAdminUser: kafka |
| 95 | zkAdminPassword: kafka_secret |
| 96 | #zkAdminPasswordExternal= some password |
| 97 | |
| 98 | secrets: |
| 99 | - uid: zk-admin |
| 100 | type: basicAuth |
| 101 | externalSecret: '{{ .Values.jaas.config.zkAdminPasswordExternal}}' |
| 102 | login: '{{ .Values.jaas.config.zkAdminUser }}' |
| 103 | password: '{{ .Values.jaas.config.zkAdminPassword }}' |
| 104 | passwordPolicy: required |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 105 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 106 | ## Persist data to a persitent volume |
| 107 | persistence: |
| 108 | enabled: true |
| 109 | |
| 110 | ## A manually managed Persistent Volume and Claim |
| 111 | ## Requires persistence.enabled: true |
| 112 | ## If defined, PVC must be created manually before volume will be bound |
| 113 | # existingClaim: |
| 114 | volumeReclaimPolicy: Retain |
| 115 | |
| 116 | ## database data Persistent Volume Storage Class |
| 117 | ## If defined, storageClassName: <storageClass> |
| 118 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 119 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 120 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 121 | ## GKE, AWS & OpenStack) |
| 122 | ## |
| 123 | # storageClass: "-" |
Sylvain Desbureaux | 18fe1fe | 2019-08-29 17:30:02 +0200 | [diff] [blame] | 124 | accessMode: ReadWriteOnce |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 125 | size: 2Gi |
| 126 | mountPath: /dockerdata-nfs |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 127 | mountSubPath: message-router/data-zookeeper |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 128 | |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 129 | |
| 130 | rollingUpdate: |
| 131 | maxUnavailable: 1 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 132 | service: |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 133 | type: ClusterIP |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 134 | name: message-router-zookeeper |
| 135 | portName: message-router-zookeeper |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 136 | clientPortName: client |
| 137 | clientPort: 2181 |
| 138 | serverPortName: server |
| 139 | serverPort: 2888 |
| 140 | leaderElectionPortName: leader-election |
| 141 | leaderElectionPort: 3888 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 142 | |
| 143 | ingress: |
| 144 | enabled: false |
| 145 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 146 | # Resource Limit flavor -By Default using small |
| 147 | flavor: small |
| 148 | # Segregation for Different environment (Small and Large) |
| 149 | resources: |
| 150 | small: |
| 151 | limits: |
| 152 | cpu: 2000m |
| 153 | memory: 4Gi |
| 154 | requests: |
| 155 | cpu: 500m |
| 156 | memory: 1Gi |
| 157 | large: |
| 158 | limits: |
| 159 | cpu: 4000m |
| 160 | memory: 8Gi |
| 161 | requests: |
| 162 | cpu: 1000m |
| 163 | memory: 2Gi |
sunil.unnava | 02f077e | 2019-03-28 20:50:29 -0400 | [diff] [blame] | 164 | unlimited: {} |