Description:
- Execute a command inside a Container and view the result
kubectl exe -it [POD_NAME]] --/bin/bash
for interactive shell to work in the container
Synopsis:
kubectl exec
(
POD
| TYPE/NAME
)
[-c CONTAINER]
[flags]
-- COMMAND [args...]
Search
Nov 22, 20241 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...]