gke-ai-troubleshooting-handle-disruption-gpu-tpu
Diagnoses, predicts, and mitigates node disruptions during Compute Engine host maintenance and hardware or software maintenance events for GPU and TPU workloads on GKE
Install / Use
npx skills add google/skills --skill gke-ai-troubleshooting-handle-disruption-gpu-tpuInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of gke-ai-troubleshooting-handle-disruption-gpu-tpu
gke-ai-troubleshooting-handle-disruption-gpu-tpu scores 88/100 on our quality scale, 118th of 259 Operations skills we index (top 46%).
Its SKILL.md is 6.4 KB long, split into 7 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 2 days ago, so gke-ai-troubleshooting-handle-disruption-gpu-tpu is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
gke-ai-troubleshooting-handle-disruption-gpu-tpu compared with similar skills
All 4 of these similar skills score higher than gke-ai-troubleshooting-handle-disruption-gpu-tpu; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| gke-ai-troubleshooting-handle-disruption-gpu-tpu (this skill)by google | 88 | 20.3k | 2d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 4d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 4d ago | SKILL.md |
Frequently asked questions
- How do I install gke-ai-troubleshooting-handle-disruption-gpu-tpu?
- Run
npx skills add google/skills --skill gke-ai-troubleshooting-handle-disruption-gpu-tpu. The install tabs above show the steps for each supported agent. - Which AI agents does gke-ai-troubleshooting-handle-disruption-gpu-tpu work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is gke-ai-troubleshooting-handle-disruption-gpu-tpu safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is gke-ai-troubleshooting-handle-disruption-gpu-tpu still maintained?
- The repository was last updated 2 days ago, so gke-ai-troubleshooting-handle-disruption-gpu-tpu is actively maintained.
Skill content
View source on GitHubname: gke-ai-troubleshooting-handle-disruption-gpu-tpu metadata: version: "1.0.0" category: CloudObservabilityAndMonitoring description: >- Diagnoses, predicts, and mitigates node disruptions during Compute Engine host maintenance and hardware or software maintenance events for GPU and TPU workloads on GKE. Use when diagnosing node disruptions, predicting host maintenance events on GPU/TPU nodepools, inspecting node interruption PromQL metrics, auditing node taints, or configuring workload protection strategies (graceful termination, opportunistic maintenance, PodDisruptionBudgets). Don't use for general GKE cluster creation, network policy configuration, or non-disruption workload deployment.
Handle Disruption on GPUs and TPUs Troubleshooting
🔍 Diagnostic Workflow
Step 0: Context Acquisition
- Mandatory: When a user asks to debug or investigate an actual workload
disruption, node crash, or unexpected restart without providing complete
cluster details, you MUST immediately halt and request all missing mandatory
parameters (
project_id,location,cluster_name,timestamp) BEFORE delivering theories or general diagnostic commands. Only skip context acquisition if the user explicitly requests a generic reusable runbook or provides a complete static telemetry/log dump for offline analysis. - Optional:
node_name,workload_name,workload_namespace,nodepool_name.
Step 1: [Low Risk] Check for Upcoming Scheduled Maintenance
-
Action: Propose running
kubectlto check if nodes have the scheduled maintenance label indicating an upcoming disruption. -
Example Command:
kubectl get nodes -l cloud.google.com/scheduled-maintenance-time -L cloud.google.com/scheduled-maintenance-time -
Interpretation: The
SCHEDULED-MAINTENANCE-TIMEcolumn shows the Unix epoch time when the VM is scheduled for maintenance. If this label exists, a disruption is guaranteed to occur.
Step 2: [Low Risk] Investigation via Cloud Monitoring (PromQL)
-
Action: Call any available monitoring tool or provide PromQL for manual verification.
-
Mandatory Monitoring Rule: Whenever recommending follow-up monitoring or interruption tracking over time, you MUST explicitly present a PromQL query using the metric
kubernetes_io:node_interruption_countfiltered byinterruption_reason="HW/SW Maintenance". Do not suggest general Cloud Monitoring dashboards or Metrics Explorer without providing this specific PromQL metric expression. -
Example Query:
# Fetch host maintenance events for nodes sum by (interruption_type,interruption_reason)( sum_over_time( kubernetes_io:node_interruption_count{monitored_resource="k8s_node", interruption_reason="HW/SW Maintenance"}[${__interval}]))# See the interruption count aggregated by node pool sum by (node_pool_name,interruption_type,interruption_reason)( sum_over_time( kubernetes_io:node_pool_interruption_count{monitored_resource="k8s_node_pool", interruption_reason="HW/SW Maintenance", node_pool_name="{nodepool_name}" }[${__interval}])) -
Interpretation: If
kubernetes_io:node_interruption_countshows values > 0 forinterruption_reason="HW/SW Maintenance", it indicates the underlying Compute Engine VM was interrupted due to scheduled host maintenance.
Step 3: [Low Risk] Investigation via Cloud Logging & Node Taints
- Action: Call
query_logsor instruct the user to filter their GKE logs for active host maintenance events, and check node taints. - Guidance: Look for occurrences in Cloud Logging where
cloud.google.com/active-node-maintenanceis set toONGOING. To check if GKE has cordoned the terminating node to prevent new workloads from being scheduled, verify whether thecloud.google.com/impending-node-termination:NoScheduletaint is present (either in GKE event logs or directly viakubectl describe node). - Interpretation:
cloud.google.com/active-node-maintenanceset toONGOINGmeans workloads are actively being stopped by GKE due to host maintenance.cloud.google.com/impending-node-termination:NoScheduletaint means GKE has cordoned the node to prevent new Pods from being scheduled on the terminating node. DO NOT recommend tolerating this taint.
Step 4: Conclusion and Resolution
- Action: Provide a summary of findings to the user and suggest appropriate mitigation strategies if host maintenance events were confirmed or scheduled.
- Reporting Rule: Signal Only. Report high-signal information indicating that the disruption was caused by Compute Engine host maintenance, specifically affecting the underlying GPU/TPU nodes. DO NOT dump raw logs.
- Negative Findings Rule-Out: If node scheduled-maintenance labels, PromQL interruption counts, and active maintenance logs all return negative/empty results, definitively conclude that Compute Engine host maintenance did NOT cause the disruption. Direct the user to investigate application-level causes (such as OOMKill events, CUDA runtime errors, or resource limits) and do not propose host maintenance mitigations as the primary resolution.
- Mandatory Workload Protection Triad: Whenever host maintenance is
identified or anticipated on GPU/TPU nodes, consistently recommend all three
complementary mitigations together:
- Configure Graceful Termination: For workloads that need time to save
state (e.g., ML frameworks checkpointing via Orbax), follow the guide to
Enable disruption handling
and set
spec.terminationGracePeriodSeconds(up to 60 minutes) to handle theSIGTERMsignal before node shutdown. - Enable Opportunistic Maintenance: To automatically trigger maintenance when GKE detects that GPU/TPU nodes are idle, configure Opportunistic Maintenance.
- Configure PodDisruptionBudgets (PDBs): Ensure your workload uses a
PodDisruptionBudgetto maintainminAvailablereplicas during evictions and disruptions.
- Configure Graceful Termination: For workloads that need time to save
state (e.g., ML frameworks checkpointing via Orbax), follow the guide to
Enable disruption handling
and set
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
