From dbf0b71c27e6c2d95231eeb4f8284545bb640151 Mon Sep 17 00:00:00 2001 From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de> Date: Wed, 25 Nov 2020 19:14:07 +0100 Subject: [PATCH] Add configuration for one-broker execution Closes #38 --- execution/helm/README.md | 4 ++++ execution/helm/one-broker-values.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 execution/helm/one-broker-values.yaml diff --git a/execution/helm/README.md b/execution/helm/README.md index 0d63e7ccf..3330c3112 100644 --- a/execution/helm/README.md +++ b/execution/helm/README.md @@ -17,6 +17,10 @@ Dependencies and sub charts: - kafka-client - zookeeper +## Configuration + +In development environments Kubernetes resources are often low. To reduce resource consumption, we provide an `one broker-value.yaml` file. This file can be used with `helm install theodolite <path-to-chart> -f one-broker-values.yaml`. + ## Development ### Sub charts diff --git a/execution/helm/one-broker-values.yaml b/execution/helm/one-broker-values.yaml new file mode 100644 index 000000000..fdbc3207e --- /dev/null +++ b/execution/helm/one-broker-values.yaml @@ -0,0 +1,15 @@ +cp-helm-charts: + ## ------------------------------------------------------ + ## Zookeeper + ## ------------------------------------------------------ + cp-zookeeper: + servers: 1 # default: 3 + + ## ------------------------------------------------------ + ## Kafka + ## ------------------------------------------------------ + cp-kafka: + brokers: 1 # deauflt: 10 + + configurationOverrides: + offsets.topic.replication.factor: "1" \ No newline at end of file -- GitLab