Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)22k · #10266

gke-ai-troubleshooting-node-unresponsive-timeout

Was er macht

Dieser Skill hilft, GKE-TPU- oder GPU-Knoten wiederherzustellen, die nicht mehr antworten. Gedacht ist das für Plattformteams, deren Workloads hängen, weil ein Knoten still geworden ist.

Wann du ihn nutzt

  • ✓Wenn ein GKE-TPU- oder GPU-Knoten lange NotReady oder NodeStatusUnknown anzeigt.
  • ✓Wenn Pods auf einem nicht antwortenden Knoten im Status Terminating hängen und ein JobSet blockieren.
  • ✓Wenn die Auto-Reparatur des Knotens deaktiviert ist und ein Kernel-Panic oder Hardware-Hänger des Hosts die Ursache zu sein scheint.

Link zum Skill

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-node-unresponsive-timeout/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-node-unresponsive-timeout/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Einer meiner GKE-TPU-Knoten zeigt seit einer Stunde NotReady, und seine Pods lassen sich nicht beenden. Wie stelle ich ihn wieder her?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er prüft die Ready-Bedingung des Knotens, die Einstellung der Auto-Reparatur im Knotenpool und den Zustand des Hosts und führt dich dann durch die Schritte zur Entschärfung. Für die Prüfungen nutzt er gcloud und kubectl.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Troubleshoot unresponsive GKE TPU and GPU nodes (NodeStatusUnknown)

When the Compute Engine host of a TPU or GPU node has a fatal hardware error, kernel panic, or non-maskable interrupt (NMI) lockup, the guest OS stops responding. The kubelet can no longer send heartbeats, so the node Ready condition becomes Unknown with Reason: NodeStatusUnknown (Kubelet stopped posting node status.). If node auto-repair is disabled on the node pool, GKE doesn't repair the node. The node can stay NotReady, and pods on it can stay in Terminating, which blocks multi-host JobSet workloads from recovering.

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. 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-node-unresponsive-timeout)" and append agent-skills/1.0 (skill:gke-ai-troubleshooting-node-unresponsive-timeout) to User-Agent headers.

Prerequisites

  • Tools: Install the Google Cloud SDK (gcloud) and kubectl.
  • Cloud Billing & Project Configuration: Verify an active billing account is linked (gcloud billing projects describe {project_id}), authenticate (gcloud auth login), set the target project (gcloud config set project {project_id}), and ensure container.googleapis.com, compute.googleapis.com, logging.googleapis.com, and monitoring.googleapis.com are enabled.
  • Required IAM Roles:
    • Kubernetes Engine Viewer (roles/container.viewer)
    • Compute Viewer (roles/compute.viewer)
    • Logs Viewer (roles/logging.viewer)
    • Monitoring Viewer (roles/monitoring.viewer)
    • For remediation ([High Risk] steps): Kubernetes Engine Cluster Admin (roles/container.clusterAdmin)
  • Documentation:

Read-only rule: Run read-only diagnostic commands only. Never drain, delete, or re-create nodes, or run any other command that changes the cluster. Give the user any fix to apply themselves.

When you recommend a fix, link the doc section that describes it.


Diagnostic workflow

Step 0: Collect context and set the investigation window [Low Risk]

Collect the target parameters. By default, query a 60-minute window `[T - 30m, T

  • 30m]around{issue_time}`:
  • {project_id}: Google Cloud project ID
  • {cluster_name}: GKE cluster name
  • {location}: Cluster region or zone
  • {nodepool_name}: Target TPU or GPU node pool name
  • {node_name}: Unresponsive GKE node name (and its Compute Engine {zone})
  • {issue_time}: Incident timestamp in RFC3339 UTC
  • {start_time}: {issue_time} - 30m
  • {end_time}
Häufige Fragen

Was bedeutet NodeStatusUnknown?

Der Kubelet hat keine Statusmeldungen mehr geschickt, daher kann der Knoten nicht melden, dass er gesund ist.

Deckt er gesunde Knoten ab?

Nein. Er ist für nicht antwortende Knoten gedacht, nicht für gesunde oder routinemäßige Upgrades.

Welche Werkzeuge werden benötigt?

Das Google Cloud SDK und kubectl.

Details

Originalbeschreibung des Autors

Diagnose and mitigate GKE TPU or GPU nodes stuck in NotReady / NodeStatusUnknown ("Kubelet stopped posting node status") due to host kernel panics, hardware lockups, or disabled node auto-repair. Use when nodes stop heartbeating beyond the node auto-repair threshold and pods remain stuck in Terminating. Don't use for healthy nodes, pod-only application crashes, or routine GKE upgrades.

repo: google/skills

Beliebtheit

GitHub-Sterne
22k
Platz im Ranking
#10266
Lizenz
Apache-2.0
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills