feat(pods): pods_exec supports specifying container

Allows to specify the container where the command will be executed.
Additionally, prevents the command from failing in pods with multiple
containers when the container is not specified (defaults to first).
This commit is contained in:
Marc Nuri
2025-04-26 07:02:26 +02:00
committed by GitHub
parent 22a7125f4a
commit 37d7175cd6
4 changed files with 60 additions and 17 deletions

View File

@@ -185,6 +185,8 @@ Execute a command in a Kubernetes Pod in the current or provided namespace with
- Name of the Pod
- `namespace` (string, required)
- Namespace of the Pod
- `container` (`string`, optional)
- Name of the Pod container to get logs from
### `pods_get`