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
Jan 07, 20261 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...]