Scale Workload.prompt
--- mode: agent description: Safely scale a deployment up or down tools: ['describe_resource', 'scale_deployment', 'list_pods'] --- Scale deployment **${input:deployment:deployment name}** in namespace **${input:namespace:namespace}** to **${input:replicas:target replicas}** replicas. 1. Call `describe_resource` for the deployment and report current desired / ready replicas. 2. If the change increases replicas by more than 4x, warn the user. 3. If the target is `0`, warn that the workload will be unavailable. 4. Wait for an explicit "confirm" reply before calling `scale_deployment` with `confirm: true`. 5. After the call, poll `list_pods` every 10s (max 6 polls) and report the ready/desired count until they match.
fill the variables
This prompt has 3 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{input:deployment:deployment name}{input:namespace:namespace}{input:replicas:target replicas}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo VersusControl/devops-ai-guidelines (MIT). A "Scale Workload.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
VersusControl/devops-ai-guidelines · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar