From 60de1154eb2d54c21fd2abe3c41468362f0188a2 Mon Sep 17 00:00:00 2001 From: Hesam Korki <39953520+HesamKorki@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:05:38 +0200 Subject: [PATCH] fix typo in quick-reference.md fixed a small typo in the kubectl cheat sheet page. --- content/en/docs/reference/kubectl/quick-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/reference/kubectl/quick-reference.md b/content/en/docs/reference/kubectl/quick-reference.md index c0f0dc37b2..59ab243093 100644 --- a/content/en/docs/reference/kubectl/quick-reference.md +++ b/content/en/docs/reference/kubectl/quick-reference.md @@ -373,7 +373,7 @@ kubectl port-forward my-pod 5000:6000 # Listen on port 5000 on the kubectl exec my-pod -- ls / # Run command in existing pod (1 container case) kubectl exec --stdin --tty my-pod -- /bin/sh # Interactive shell access to a running pod (1 container case) kubectl exec my-pod -c my-container -- ls / # Run command in existing pod (multi-container case) -kubectl debug my-pod -it --image=busybox:1.28 # Create an interactive debugging session witin existing pod and immediately attach to it +kubectl debug my-pod -it --image=busybox:1.28 # Create an interactive debugging session within existing pod and immediately attach to it kubectl debug node/my-node -it --image=busybox:1.28 # Create an interactive debugging session on a node and immediately attach to it kubectl top pod # Show metrics for all pods in the default namespace kubectl top pod POD_NAME --containers # Show metrics for a given pod and its containers