hardkubectl
Attach a debug container to a running pod for live troubleshooting
command
kubectl debug pod POD_NAME --image IMAGE --stdin --ttyalso accepted
kubectl debug podkubectl debugcommand
kubectl debug pod POD_NAME --image IMAGE --stdin --ttyalso accepted
kubectl debug podkubectl debugPart of the Kubernetes CLI (kubectl) — Debugging category.
| Flag | Purpose |
|---|---|
--image | Boolean flag |
--stdin | Boolean flag |
--tty | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →