Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 1 | --- |
| 2 | # Copyright 2018-present Open Networking Foundation |
| 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 | # Deploy a production ready Kafka with persistent storage |
| 17 | # |
| 18 | # Tested with v0.8.8 of the chart from the helm incubator |
| 19 | # |
| 20 | # ex: |
| 21 | # helm install -f examples/kafka-production.yaml --version 0.8.8 -n cord-kafka incubator/kafka |
| 22 | |
| 23 | # ref: https://kafka.apache.org/documentation/#configuration |
| 24 | |
| 25 | configurationOverrides: |
| 26 | "offsets.topic.replication.factor": 3 |
| 27 | "log.retention.hours": 4 |
| 28 | |
| 29 | replicas: 3 |
| 30 | |
| 31 | persistence: |
| 32 | enabled: true |
| 33 | storageClass: "local-ssd" |
| 34 | size: "10Gi" |
| 35 | |
| 36 | zookeeper: |
| 37 | replicaCount: 3 |
| 38 | persistence: |
| 39 | enabled: true |
| 40 | storageClass: "local-hdd" |
| 41 | size: "10Gi" |