Description:
- Execute a command inside a Container and view the result
kubectl exe -it [POD_NAME]] --/bin/bashfor interactive shell to work in the container
Synopsis:
kubectl exec(POD| TYPE/NAME
)[-c CONTAINER][flags]-- COMMAND [args...]
Search
Nov 23, 20251 min read
kubectl exe -it [POD_NAME]] --/bin/bash for interactive shell to work in the containerkubectl exec
(
POD| TYPE/NAME)[-c CONTAINER][flags]-- COMMAND [args...]