exec_in_pod
Run commands inside a pod via oc exec, with arguments split by shlex for safe handling.
Instructions
Execute a command inside a pod via oc exec. command is split with shlex — shell metacharacters (pipes, redirects) are not interpreted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| cluster | No | ||
| command | Yes | ||
| container | No | ||
| namespace | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |