From 8d206f50be3d2c42800a0d5c7aee8d7bd6d0c5b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de>
Date: Thu, 3 Sep 2020 14:38:09 +0200
Subject: [PATCH] Add documentation for Zookeeper client

---
 execution/README.md                            | 10 +++++++++-
 execution/infrastructure/zookeeper-client.yaml | 12 ++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 execution/infrastructure/zookeeper-client.yaml

diff --git a/execution/README.md b/execution/README.md
index af4caaa80..488f210f4 100644
--- a/execution/README.md
+++ b/execution/README.md
@@ -102,7 +102,15 @@ Other Kafka deployments, for example, using Strimzi, should work in a similar wa
 A permanently running pod used for Kafka configuration is started via:
 
 ```sh
-kubectl apply -f infrastructure/kafka/kafka-client.yaml 
+kubectl apply -f infrastructure/kafka/kafka-client.yaml
+```
+
+#### A Zookeeper Client Pod
+
+Also a permanently running pod for ZooKeeper access is started via:
+
+```sh
+kubectl apply -f infrastructure/zookeeper-client.yaml
 ```
 
 #### The Kafka Lag Exporter
diff --git a/execution/infrastructure/zookeeper-client.yaml b/execution/infrastructure/zookeeper-client.yaml
new file mode 100644
index 000000000..9d6d00275
--- /dev/null
+++ b/execution/infrastructure/zookeeper-client.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Pod
+metadata:
+  name: zookeeper-client
+spec:
+  containers:
+  - name: zookeeper-client
+    image: confluentinc/cp-zookeeper:5.4.0
+    command:
+      - sh
+      - -c
+      - "exec tail -f /dev/null"
-- 
GitLab