restart_pod
Delete a Kubernetes pod to force restart via Deployment or ReplicaSet. Use dryRun to preview changes before executing.
Instructions
WRITE ACTION — This modifies cluster state. Deletes the specified pod, which triggers automatic recreation if the pod is managed by a Deployment or ReplicaSet. Always confirm with the user before calling this. Use dryRun=true (default) to preview the action without executing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), preview the action without executing it. Set to false only after the user confirms. | |
| podName | Yes | Name of the pod to restart. | |
| namespace | No | Kubernetes namespace. Defaults to "default". |