k8s_exec_pod
Execute commands in Kubernetes pod containers to run diagnostics, check logs, or perform maintenance tasks within your cluster.
Instructions
Execute a command in a pod container
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Pod name | |
| namespace | No | Namespace | |
| container | No | Container name (if pod has multiple containers) | |
| command | Yes | Command to execute (e.g., 'ls -la' or 'cat /etc/hosts') |