exec_in_pod
Run shell commands inside a Kubernetes pod or container to retrieve output, enabling direct inspection and troubleshooting of deployment health.
Instructions
Run a shell command inside a pod (or one of its containers, including an ephemeral debug container previously created with spawn_ephemeral_debug_container) and return its combined output. This is how you actually use a spawned debug container once it's running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod | Yes | ||
| command | Yes | ||
| container | No | ||
| namespace | No | default | |
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |