Container orchestration
kubectl exec
Run command in pod.
Syntax
$kubectl exec [OPTIONS] POD -- COMMAND
Examples
$kubectl exec -it mypod -- bash
Typical use cases
?
Standard usage
kubectl exec --help
Note
Run in pod.
Export