From 8a4ad38584d04d466316a18bd1a93ef58a2794d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de>
Date: Wed, 3 Jun 2020 14:31:33 +0200
Subject: [PATCH] Add documentation for Kafka client

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

diff --git a/execution/README.md b/execution/README.md
index 42fe9647d..7b914e4ec 100644
--- a/execution/README.md
+++ b/execution/README.md
@@ -95,7 +95,15 @@ kubectl apply -f infrastructure/kafka/service-monitor.yaml
 
 ##### Other options for Kafka
 
-Other Kafka deployments, for example, using Strimzi, should work in similiar way.
+Other Kafka deployments, for example, using Strimzi, should work in a similar way.
+
+#### A Kafka Client Pod
+
+A permanently running pod used for Kafka configuration is started via:
+
+```sh
+kubectl apply -f infrastructure/kafka/kafka-client.yaml 
+```
 
 #### The Kafka Lag Exporter
 
diff --git a/execution/infrastructure/kafka/kafka-client.yaml b/execution/infrastructure/kafka/kafka-client.yaml
new file mode 100644
index 000000000..4c7d3ed23
--- /dev/null
+++ b/execution/infrastructure/kafka/kafka-client.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Pod
+metadata:
+  name: kafka-client-2
+spec:
+  containers:
+  - name: kafka-client
+    image: confluentinc/cp-enterprise-kafka:5.4.0
+    command:
+      - sh
+      - -c
+      - "exec tail -f /dev/null"
\ No newline at end of file
-- 
GitLab