k8s_pod_exec
Execute commands inside a running Kubernetes pod container. Supports container selection for multi-container pods and quoted arguments.
Instructions
Execute a command inside a running container. Supports quoted arguments (e.g., 'ls -la "/my dir"'). Specify container for multi-container pods. Defaults to the 'default' namespace if not specified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tty | No | ||
| stdin | No | ||
| command | Yes | ||
| context | Yes | ||
| timeout | No | ||
| pod_name | Yes | ||
| container | No | ||
| namespace | No |