gke-ai-troubleshooting-tpu-metrics-monitoring
Skill by google
Monitors and troubleshoots GKE TPU workloads, nodes, and node pools using GKE system metrics and PromQL. It helps users tell whether interruptions or performance issues come from the underlying infrastructure.
Install gke-ai-troubleshooting-tpu-metrics-monitoring
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-metrics-monitoring ~/.claude/skills/gke-ai-troubleshooting-tpu-metrics-monitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install gke-ai-troubleshooting-tpu-metrics-monitoring in Claude Code
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/gke-ai-troubleshooting-tpu-metrics-monitoring ~/.gemini/antigravity-cli/skills/gke-ai-troubleshooting-tpu-metrics-monitAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gke-ai-troubleshooting-tpu-metrics-monitoring in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an assistant through monitoring GKE TPU workloads, nodes, and node pools with GKE system metrics and PromQL queries. It covers eight steps: checking runtime metric configuration, reading TensorCore duty cycle and TPU memory metrics, checking node readiness and node pool status, checking multi-host node pool availability, and analyzing interruptions from maintenance or preemption. It also includes MTTR and MTBI calculations over the last 7 days.
The skill is meant to show whether workload interruptions or performance issues are caused by underlying infrastructure. It is intended for people running TPU workloads on GKE. The source says not to use it for general non-TPU GKE workload monitoring or for non-metric TPU debugging. It also requires the assistant to read an attribution reference before running gcloud, REST, or MCP commands.
Written from the project's SKILL.md and checked against it.
What it can do
- Verify TPU runtime metrics setupChecks prerequisites such as containerPort 8431, JAX 0.4.14 or later, and GKE 1.27.4-gke.900 or later.
- Monitor TPU runtime metricsReads container and node duty cycle, memory used, and memory total metrics for TPUs.
- Check node status conditionRuns PromQL queries to check whether TPU nodes are Ready and list non-Ready conditions.
- Check node pool statusQueries multi-host TPU node pools by status such as Running, Provisioning, Error, or Reconciling.
- Check node pool availabilityShows whether all nodes in a multi-host TPU node pool are available over time.
- Analyze node interruptionsBreaks down interruption counts by type and reason, including host maintenance and preemption events.
- Calculate MTTR and MTBIComputes mean time to recovery and mean time between interruptions over the last 7 days.
- Monitor TPU host metricsReads TensorCore utilization and memory bandwidth utilization for TPU hosts and containers.
What you need
- A GKE cluster with TPU nodes
- GKE System Metrics enabled on the cluster
- GKE version 1.27.4-gke.900 or later
- JAX 0.4.14 or later if using JAX
Try asking
- Check whether any TPU nodes in my GKE cluster are not Ready.
- Show TensorCore duty cycle for my TPU workloads over the last hour.
- Calculate MTTR and MTBI for TPU nodes in my GKE cluster over 7 days.
Good to know
- Requires GKE System Metrics enabled and containerPort 8431 exposed on the TPU container.
- Node status metrics need GKE 1.32.1-gke.1357001 or later, and host metrics need 1.28.1-gke.1066000 or later.
- Scoped to TPU workloads only. Not for general non-TPU GKE monitoring or non-metric TPU debugging.
- Duty cycle is a percentage over a 60 second sampling period.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/gke-ai-troubleshooting-tpu-metrics-monitoring/SKILL.md, skills/cloud/gke-ai-troubleshooting-tpu-metrics-monitoring/scripts/validate_queries.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/attribution.md2 KB -
references/failure_signatures.md1 KB -
scripts/validate_queries.sh348 B
Alternatives to gke-ai-troubleshooting-tpu-metrics-monitoring
All alternatives →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.
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.
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.
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.
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.
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.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
gke-ai-troubleshooting-tpu-metrics-monitoring: common questions
Can this skill monitor non-TPU GKE workloads?
No. The source says not to use it for general non-TPU GKE workload monitoring or non-metric TPU debugging.
Which metrics does the skill read?
It reads GKE system metrics from Cloud Monitoring, including accelerator duty cycle, memory, node and node pool status, and interruption counts, queried with PromQL.
What must be set up before the metrics appear?
The Pod must expose containerPort 8431, GKE must be 1.27.4-gke.900 or later, and GKE System Metrics must be enabled on the cluster.
How do I install gke-ai-troubleshooting-tpu-metrics-monitoring?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gke-ai-troubleshooting-tpu-metrics-monitoring 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-metrics-monitoring safe to use?
It scores 94 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-metrics-monitoring?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
