k8s_run_pod
Create and run a Kubernetes pod with a specified container image for one-off tasks, debugging, or testing. Supports custom commands, environment variables, and restart policy.
Instructions
Create and run a pod with the specified container image. Useful for running one-off tasks, debugging, or testing. Set restart='Never' for one-shot jobs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>",
"name": "<name>",
"image": "<image>"
},
"name": "k8s_run_pod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | Yes | ||
| image | Yes | ||
| labels | No | ||
| command | No | ||
| context | Yes | ||
| restart | No | ||
| namespace | No |