File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
content/zh-cn/docs/reference/kubectl Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ kubectl port-forward my-pod 5000:6000 # Listen on port 5000 on the
729
729
kubectl exec my-pod -- ls / # Run command in existing pod (1 container case)
730
730
kubectl exec --stdin --tty my-pod -- /bin/sh # Interactive shell access to a running pod (1 container case)
731
731
kubectl exec my-pod -c my-container -- ls / # Run command in existing pod (multi-container case)
732
- kubectl debug my-pod -it --image=busybox:1.28 # Create an interactive debugging session witin existing pod and immediately attach to it
732
+ kubectl debug my-pod -it --image=busybox:1.28 # Create an interactive debugging session within existing pod and immediately attach to it
733
733
kubectl debug node/my-node -it --image=busybox:1.28 # Create an interactive debugging session on a node and immediately attach to it
734
734
kubectl top pod # Show metrics for all pods in the default namespace
735
735
kubectl top pod POD_NAME --containers # Show metrics for a given pod and its containers
You can’t perform that action at this time.
0 commit comments