update exec command
This commit is contained in:
@@ -93,7 +93,7 @@ Use `kubectl exec` to enter the pod and run the `redis-cli` tool to verify that
|
||||
the configuration was correctly applied:
|
||||
|
||||
```shell
|
||||
kubectl exec -it redis redis-cli
|
||||
kubectl exec -it redis -- redis-cli
|
||||
127.0.0.1:6379> CONFIG GET maxmemory
|
||||
1) "maxmemory"
|
||||
2) "2097152"
|
||||
|
||||
@@ -89,7 +89,7 @@ pod/redis 1/1 Running 0 52s
|
||||
`kubectl exec`を使ってPodに入り、`redis-cli`ツールを実行して設定が正しく適用されたことを確認してください:
|
||||
|
||||
```shell
|
||||
kubectl exec -it redis redis-cli
|
||||
kubectl exec -it redis -- redis-cli
|
||||
127.0.0.1:6379> CONFIG GET maxmemory
|
||||
1) "maxmemory"
|
||||
2) "2097152"
|
||||
|
||||
@@ -90,7 +90,7 @@ pod/redis 1/1 Running 0 52s
|
||||
`kubectl exec`를 사용해 파드 속에서 `redis-cli` 툴을 실행해 본다.
|
||||
|
||||
```shell
|
||||
kubectl exec -it redis redis-cli
|
||||
kubectl exec -it redis -- redis-cli
|
||||
127.0.0.1:6379> CONFIG GET maxmemory
|
||||
1) "maxmemory"
|
||||
2) "2097152"
|
||||
|
||||
@@ -136,7 +136,7 @@ the configuration was correctly applied:
|
||||
使用 `kubectl exec` 进入 pod 并运行 `redis-cli` 工具来验证配置已正确应用:
|
||||
|
||||
```shell
|
||||
kubectl exec -it redis redis-cli
|
||||
kubectl exec -it redis -- redis-cli
|
||||
127.0.0.1:6379> CONFIG GET maxmemory
|
||||
1) "maxmemory"
|
||||
2) "2097152"
|
||||
|
||||
Reference in New Issue
Block a user