manage_workload
Destructive
Restart, scale, or rollback Kubernetes workloads (Deployments, StatefulSets, DaemonSets) by specifying action, kind, namespace, and name.
Instructions
Perform operations on a Kubernetes workload (Deployment, StatefulSet, or DaemonSet). Supported actions: 'restart' triggers a rolling restart, 'scale' changes the replica count (requires 'replicas' parameter), 'rollback' reverts to a previous revision (requires 'revision' parameter). Use list_resources or get_dashboard first to identify the target.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | action to perform: restart, scale, or rollback | |
| kind | Yes | workload kind: deployment, statefulset, or daemonset | |
| namespace | Yes | workload namespace | |
| name | Yes | workload name | |
| replicas | No | target replica count (required for scale) | |
| revision | No | target revision number (required for rollback) |