Skip to content

Commit 01333d2

Browse files
authored
Merge pull request #53091 from intojhanurag/fix-redis-configmap-command
Fix incorrect kubectl exec command in Redis ConfigMap tutorial
2 parents 02ba0ed + ed3dfde commit 01333d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/tutorials/configuration/configure-redis-using-configmap.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ redis-config:
109109
Use `kubectl exec` to enter the pod and run the `redis-cli` tool to check the current configuration:
110110

111111
```shell
112-
kubectl exec -it redis -- redis-cli
112+
kubectl exec -it pod/redis -- redis-cli
113113
```
114114

115115
Check `maxmemory`:
@@ -173,7 +173,7 @@ maxmemory-policy allkeys-lru
173173
Check the Redis Pod again using `redis-cli` via `kubectl exec` to see if the configuration was applied:
174174

175175
```shell
176-
kubectl exec -it redis -- redis-cli
176+
kubectl exec -it pod/redis -- redis-cli
177177
```
178178

179179
Check `maxmemory`:
@@ -213,7 +213,7 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/main/conte
213213
Now re-check the configuration values one last time:
214214

215215
```shell
216-
kubectl exec -it redis -- redis-cli
216+
kubectl exec -it pod/redis -- redis-cli
217217
```
218218

219219
Check `maxmemory`:

0 commit comments

Comments
 (0)