Skip to content
TriedPrompts

More in Business admin & workflows.

Diagnose a Kubernetes pod-scheduling outage with Claude Code

Given dashboard screenshots, Claude Code traced an outage to pod IP exhaustion and supplied the fix; Anthropic says it saved 20 minutes.

Result: WorkedTool: Claude CodeLevel: Advanced

Copy the prompt

Outcome

Anthropic's Data Infrastructure team gave Claude Code dashboard screenshots, and it traced the problem to pod IP exhaustion and supplied the commands to add a new IP pool; Anthropic says this saved about 20 minutes during an outage. Claude walked the team menu by menu through Google Cloud's console until they found the cause.

According to Anthropic: 20 minutes saved during an outage

This is the source's own number. We haven't measured it.

Evidence: Company case studyA write-up published by the company that makes the AI tool or uses it.

WorkedEvidence: Company case studyPosted Last checked

Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.

How to use this

  1. Tap Copy prompt.
  2. Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
  3. Paste it into the message box.
  4. Send it, then read the answer before acting on it.
New to this? What's a prompt?

A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.

Prompt

Recreated prompt

The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.

What the prompt labels mean

The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Help me figure out why my Kubernetes cluster stopped scheduling pods, and give me the exact commands to fix it.

Check with me first: Is this happening now, and what changed recently?

What I'll give you:
- Screenshots of the dashboards
- Access to the cloud console (I'll click through it with your directions)

Rules:
- Guide me through the console step by step to find the cause.
- Explain what each fix command does and how risky it is before I run it.
- If something is missing or unclear, ask me instead of guessing.
- Don't run anything yourself. I'll run the commands.

Output: The cause, the exact commands to fix it, and what to check afterward.

You'll know it worked when: pods start scheduling again.

Try this in:

Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.

The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Work out why my Kubernetes cluster stopped scheduling pods and give me exact commands to fix it.

Quick check first: tell me if anything below is missing or unclear.

Inputs (fill in or confirm):
- Dashboard screenshots
- Cluster provider and version
- What changed recently
- kubectl access level (read-only or admin)

Rules:
- Start with symptoms: pending pods, events, node conditions; ask me for specific outputs.
- Form 2–3 hypotheses and say what evidence would confirm each.
- Give read-only commands first; mark any command that changes state.
- Explain each fix before I run it.
- Check IP address capacity, node pool limits, quotas and taints as likely causes.
- Write down the timeline of what happened for the post-incident note.

Checkpoint: Don't run or suggest destructive commands without my explicit OK.

If you get stuck: If evidence doesn't fit, say so rather than forcing a cause. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords.

Verify before you finish: After the fix, check new pods schedule and IPs are available.

Output: Diagnosis, commands run, fix and follow-up actions.

Done when: pending pods schedule and I know the root cause.

AI tool

Claude Code

Source

Posted
by Anthropic
Last checked
Method:
How we verify

https://claude.com/resources/articles/how-anthropic-teams-use-claude-code

Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.

More in Business admin & workflows

More in OpsRandom case in Ops