Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gke-ai-troubleshooting-tpu-reservation-stockout

Skill by google

Diagnoses GKE TPU node pool creation and scale-up failures caused by Compute Engine reservation stockouts. Finds unhealthy TPU node pools that hold reserved capacity, for operators of Standard GKE clusters.

  • Score 93
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gke-ai-troubleshooting-tpu-reservation-stockout

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/gke-ai-troubleshooting-tpu-reservation-stockout ~/.claude/skills/gke-ai-troubleshooting-tpu-reservation-s

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gke-ai-troubleshooting-tpu-reservation-stockout in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill diagnoses GKE TPU node pool creation or scale-up failures caused by Compute Engine reservation stockouts. It covers errors such as GCE_STOCKOUT and ZONE_RESOURCE_POOL_EXHAUSTED when a specific TPU reservation is targeted. The main cause it describes is existing TPU node pools with node auto-repair disabled. Their running VMs keep using reservation slots after the nodes become NotReady.

The workflow is read-only. It checks Cloud Audit Logs and GKE operations for stockout errors, compares reservation inUseCount with count, lists the VMs consuming the reservation, and checks node readiness in Cloud Monitoring. It never drains, deletes or re-creates nodes, and any fix is given to the user to apply. It is intended for cluster and platform operators running Standard GKE clusters with TPU reservations.

Written from the project's SKILL.md and checked against it.

What it can do

  • Confirm stockout errorsSearches Cloud Audit Logs and GKE operations for GCE_STOCKOUT and ZONE_RESOURCE_POOL_EXHAUSTED messages.
  • Check reservation utilizationCompares specificReservation.inUseCount with specificReservation.count to find free TPU slots.
  • Find VMs holding the reservationLists VMs consuming a reservation and reads GKE labels to identify their cluster and node pool.
  • Check node readinessQueries the Cloud Monitoring node Ready condition metric for the affected cluster.

What you need

  • Google Cloud project with an active billing account
  • Logs Viewer, Monitoring Viewer, Kubernetes Engine Viewer and Compute Viewer roles
  • gcloud CLI and kubectl
  • Standard GKE cluster with a TPU reservation

Try asking

  • Why did my TPU node pool creation fail with GCE_STOCKOUT?
  • Show which VMs are consuming my TPU reservation in this cluster.
  • Check whether NotReady TPU nodes are holding reserved capacity.

Good to know

  • Read-only: runs diagnostic commands only and never changes the cluster.
  • Applies to Standard clusters only. Autopilot clusters always auto-repair nodes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/gke-ai-troubleshooting-tpu-reservation-stockout/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md17 KB
  • references/attribution.md2 KB

Alternatives to gke-ai-troubleshooting-tpu-reservation-stockout

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

gke-ai-troubleshooting-tpu-reservation-stockout: common questions

What causes GCE_STOCKOUT when creating a TPU node pool?

The source says creation fails when the free slots in the reservation are fewer than the nodes the new TPU node pool needs. Existing unhealthy TPU nodes with auto-repair disabled can keep those slots in use.

Does this skill delete or repair my TPU nodes?

No. The skill states a read-only rule: it never drains, deletes or re-creates nodes. Any fix is given to the user to apply.

Does this work with Autopilot clusters?

No. The source says this skill applies to Standard clusters, since Autopilot clusters always auto-repair nodes and this cannot be turned off.

How do I install gke-ai-troubleshooting-tpu-reservation-stockout?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gke-ai-troubleshooting-tpu-reservation-stockout free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is gke-ai-troubleshooting-tpu-reservation-stockout safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gke-ai-troubleshooting-tpu-reservation-stockout?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

gke-ai-troubleshooting-tpu-reservation-stockout Install

Add to stack

Loading.