Update zookeeper.md

kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
This commit is contained in:
Douglas Hellinger 2021-10-27 10:31:23 +08:00 committed by GitHub
parent 99e49b2751
commit 593fb144b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
```
```