delete_deployment
Remove a Kubernetes deployment and its pods from a target namespace. Use dry_run=True to preview the action without deleting, since this operation is high risk and cannot be undone.
Instructions
[WRITE][risk=high] Delete a deployment and its pods. HIGH RISK — no undo.
Pass dry_run=True to preview without deleting.
Args: name: Deployment name. namespace: Namespace; omit for the target's default namespace. dry_run: If True, preview without deleting. target: k8s target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No | ||
| namespace | No |