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…
Skill by googleOfficial
Chalk Labs
Need help deploying gke-ai-troubleshooting-handle-disruption-gpu-tpu?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/google-gke-ai-troubleshooting-handle-disruption-gpu-tpu
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gke-ai-troubleshooting-handle-disruption-gpu-tpu
What's inside
- Skill name
gke-ai-troubleshooting-handle-disruption-gpu-tpu- 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.
- License
- Apache-2.0
- Metadata
- version: 1.0.1 · category: CloudObservabilityAndMonitoring
- Instructions
- 113 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- attribution.md · references/
SKILL.md (first lines)
# Handle Disruption on GPUs and TPUs Troubleshooting
## Attribution
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read [Usage Attribution](references/attribution.md). For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix `gcloud` with
`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-ai-troubleshooting-handle-disruption-gpu-tpu)"`
and append `agent-skills/1.0 (skill:gke-ai-troubleshooting-handle-disruption-gpu-tpu)` to `User-Agent` headers.
## 🔍 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 `kubectl` to check if nodes have the scheduled
maintenance label indicating an upcoming disruption.
- **Example Command**:
```bash
kubectl get nodes -l cloud.google.com/scheduled-maintenance-time -L cloud.google.com/scheduled-maintenance-time
```
- **Interpretation**: The `SCHEDULED-MAINTENANCE-TIME` column 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_count` filtered by
`interruption_reason="HW/SW Maintenance"`. Do not suggest general Cloud
Monitoring dashboards or Metrics Explorer without providing this specific
PromQL metric expression.
- **Example Query**:
```promql
# 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}]))
```
```promql
# 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_count` shows
values > 0 for `interruption_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_logs` or 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-maintenance` is set to `ONGOING`. To check if
GKE has cordoned the terminating node to prevent new workloads from being
scheduled, verify whether the
`cloud.google.com/impending-node-termination:NoSchedule` taint is present
(either in GKE event logs or directly via `kubectl describe node`).
- **Interpretation**:
- `cloud.google.com/active-node-maintenance` set to `ONGOING` means
workloads are actively being stopped by GKE due to host maintenance.
- `cloud.google.com/impending-node-termination:NoSchedule` taint 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:
1. **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](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/handle-disruption-gpu-tpu#enabling-handling)
and set `spec.terminationGracePeriodSeconds` (up to 60 minutes) to
handle the `SIGTERM` signal before node shutdown.
2. **Enable Opportunistic Maintenance**: To automatically trigger
maintenance when GKE detects that GPU/TPU nodes are idle, configure
[Opportunistic Maintenance](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/handle-disruption-gpu-tpu#opportunistic-maintenance).
3. **Configure PodDisruptionBudgets (PDBs)**: Ensure your workload uses a
`PodDisruptionBudget` to maintain `minAvailable` replicas during
evictions and disruptions.From google/skills, Apache-2.0.
More from google/skills
- 0.865score
google-ads-api-account-diagnostics
google-ads-api-teamOfficial
Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-triage
Google LLCOfficial
Expert guidance for security alert triage in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-detection-engineering
Google LLCOfficial
Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-hunt
Google LLCOfficial
Expert guidance for proactive threat hunting in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-cases
Google LLCOfficial
Manage Google Security Operations (SecOps) SOAR cases throughout their lifecycle.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-investigate
Google LLCOfficial
Expert guidance for deep security incident and entity investigations in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.824score
google-ads-api-quickstart
google-ads-api-teamOfficial
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a…
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.819score
google-ads-api-mcp-setup
google-ads-api-teamOfficial
Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-dai-sdk
Google LLCOfficial
Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-sdk-client-side
Google LLCOfficial
Supports Interactive Media Ads (IMA) SDK.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Signals
- Stars
- 21,542
- Forks
- 1,821
- Open issues
- 21
- Last commit (this folder)
- Oct 19, 2026 (19 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.1
- License
- Apache-2.0
- Repository
- github.com/google/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from google
- 0.699score
data-manager-api-setup
googleOfficial
Guides developers through client library installation and authentication setup steps for the Data Manager API.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
retrieving-developer-knowledge
googleOfficial
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-migrate-from-ai-studio
googleOfficial
Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI).
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
google-cloud-recipe-onboarding
googleOfficial
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get gke-ai-troubleshooting-handle-disruption-gpu-tpu running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
gke-ai-troubleshooting-handle-disruption-gpu-tpu skill. Agent Mart. https://agentmart.dev/skills/google-gke-ai-troubleshooting-handle-disruption-gpu-tpu (last updated 2026-10-24)