From 593fb144b6789dc731f98b030f5bf4fe3d2d7646 Mon Sep 17 00:00:00 2001 From: Douglas Hellinger Date: Wed, 27 Oct 2021 10:31:23 +0800 Subject: [PATCH] Update zookeeper.md kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. --- content/en/docs/tutorials/stateful-application/zookeeper.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tutorials/stateful-application/zookeeper.md b/content/en/docs/tutorials/stateful-application/zookeeper.md index 3ed1cd454b..1f6b0983f8 100644 --- a/content/en/docs/tutorials/stateful-application/zookeeper.md +++ b/content/en/docs/tutorials/stateful-application/zookeeper.md @@ -266,7 +266,7 @@ to read the data from another. The command below executes the `zkCli.sh` script to write `world` to the path `/hello` on the `zk-0` Pod in the ensemble. ```shell -kubectl exec zk-0 zkCli.sh create /hello world +kubectl exec zk-0 -- zkCli.sh create /hello world ``` ```