From 4ac1d4d80b01b2ea9e26421ec89b7b118200de6f Mon Sep 17 00:00:00 2001 From: Carl-Christian Sautter <35969382+csautter@users.noreply.github.com> Date: Thu, 17 Apr 2025 14:27:20 +0200 Subject: [PATCH 1/3] Update getting-started.adoc --- modules/ROOT/pages/getting-started.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/getting-started.adoc b/modules/ROOT/pages/getting-started.adoc index 13de4a25c..50d85cb55 100644 --- a/modules/ROOT/pages/getting-started.adoc +++ b/modules/ROOT/pages/getting-started.adoc @@ -235,11 +235,15 @@ If all has gone well then you will have successfully deployed a Stackable cluste === Apache ZooKeeper -We can test ZooKeeper by running the ZooKeeper CLI shell. The easiest way to do this is to run the CLI shell on the pod that is running ZooKeeper. +We can test ZooKeeper by running the ZooKeeper CLI shell. The easiest way to do this is to run the CLI shell on the pod that is running ZooKeeper. It might be necassary to determine and set the port. [source,bash] ---- kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh +# optional, determine the port +PORT=$(kubectl get pod simple-zk-server-primary-0 -o=jsonpath='{.spec.containers[0].ports[0].containerPort}') +echo $PORT +kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh -server localhost:$PORT ---- The shell should connect automatically to the ZooKeeper server running on the pod. You can run the `ls /` command to see the list of znodes in the root path, which should include those created by Apache Kafka and Apache NiFi. From dc8eda70abbfcebc0143aed41d74365b738d1152 Mon Sep 17 00:00:00 2001 From: Carl-Christian Sautter <35969382+csautter@users.noreply.github.com> Date: Sat, 26 Apr 2025 20:48:57 +0200 Subject: [PATCH 2/3] Update modules/ROOT/pages/getting-started.adoc Co-authored-by: Techassi --- modules/ROOT/pages/getting-started.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/getting-started.adoc b/modules/ROOT/pages/getting-started.adoc index 50d85cb55..f83304e06 100644 --- a/modules/ROOT/pages/getting-started.adoc +++ b/modules/ROOT/pages/getting-started.adoc @@ -235,7 +235,7 @@ If all has gone well then you will have successfully deployed a Stackable cluste === Apache ZooKeeper -We can test ZooKeeper by running the ZooKeeper CLI shell. The easiest way to do this is to run the CLI shell on the pod that is running ZooKeeper. It might be necassary to determine and set the port. +We can test ZooKeeper by running the ZooKeeper CLI shell. The easiest way to do this is to run the CLI shell on the pod that is running ZooKeeper. It might be necessary to determine and set the port. [source,bash] ---- From a66761e2ca39339c7c4a2be26c3064124a35be85 Mon Sep 17 00:00:00 2001 From: Carl-Christian Sautter <35969382+csautter@users.noreply.github.com> Date: Sat, 26 Apr 2025 20:49:48 +0200 Subject: [PATCH 3/3] Update modules/ROOT/pages/getting-started.adoc Co-authored-by: Techassi --- modules/ROOT/pages/getting-started.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/getting-started.adoc b/modules/ROOT/pages/getting-started.adoc index f83304e06..92057743d 100644 --- a/modules/ROOT/pages/getting-started.adoc +++ b/modules/ROOT/pages/getting-started.adoc @@ -243,7 +243,7 @@ kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh # optional, determine the port PORT=$(kubectl get pod simple-zk-server-primary-0 -o=jsonpath='{.spec.containers[0].ports[0].containerPort}') echo $PORT -kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh -server localhost:$PORT +kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh -server "localhost:$PORT" ---- The shell should connect automatically to the ZooKeeper server running on the pod. You can run the `ls /` command to see the list of znodes in the root path, which should include those created by Apache Kafka and Apache NiFi.