delete_deployment
Delete a Kubernetes deployment and its pods. Preview with dry_run to avoid irreversible removal. High-risk operation.
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 |