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

gke-ai-troubleshooting-tpu-slice-mig-stuck-updating

Was er macht

Dieser Skill hilft einem KI-Agenten herauszufinden, warum TPU-Slices und JobSets feststecken, wenn die dahinterliegenden Compute-Engine-Instanzgruppen nicht stabil sind. Er ist für Ingenieurinnen und Ingenieure, die TPU-Slices auf GKE betreiben.

Wann du ihn nutzt

  • ✓Wenn die Erstellung eines TPU-Slices mit SliceCreationFailed fehlschlägt und eine instabile Instanzgruppe die Ursache sein könnte.
  • ✓Wenn ein JobSet wartend bleibt und seine Instanzgruppe isStable false zeigt.
  • ✓Wenn eine Instanzgruppe ihre Zielversion noch nicht erreicht hat.

Link zum Skill

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/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-tpu-slice-mig-stuck-updating/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

“Mein TPU-JobSet wartet seit einer Stunde, und die Instanzgruppe sagt, sie ist nicht stabil. Was soll ich prüfen?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent prüft zuerst den Status des Slices und danach, ob die dahinterliegenden Instanzgruppen stabil sind und ihre Zielversionen erreicht haben.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Troubleshoot GKE TPU slice creation blocked by an unstable MIG

This skill helps diagnose GKE TPU Dynamic Slice creation failures and JobSet scheduling delays when the Compute Engine managed instance groups (MIGs) that back the TPU node pool aren't stable (status.isStable: false).

A SliceCreationFailed status reason means that slice creation failed because prerequisites weren't met (for example, required Compute Engine resources are missing) or preflight checks failed (see Use dynamic slicing with a custom scheduler). A MIG that is still creating, updating, or repairing instances is one cause to check. This skill checks the slice status first, then the stability of the backing MIGs.

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-tpu-slice-mig-stuck-updating)" and append agent-skills/1.0 (skill:gke-ai-troubleshooting-tpu-slice-mig-stuck-updating) to User-Agent headers.

Prerequisites

  • Google Cloud SDK & Tools:
    • For installing and initializing gcloud (project selection and authentication) and enabling the GKE API, follow Before you begin.
    • For installing kubectl and configuring cluster credentials, follow the "Install kubectl", "Install required plugins", and "Store cluster information for kubectl" sections of Install kubectl and configure cluster access.
  • API Enablement & Billing:
    • Verify that the project has an active Cloud Billing account.
    • Enable APIs: container.googleapis.com, compute.googleapis.com, and logging.googleapis.com.
  • Required IAM Roles:
    • Logs Viewer (roles/logging.viewer): Inspect Cloud Audit Logs for MIG errors.
    • Compute Viewer (roles/compute.viewer): Check MIG stability (isStable) and instance progress.
    • Kubernetes Engine Viewer (roles/container.viewer): Inspect Slice custom resources (slices.accelerator.gke.io), nodes, and cluster operations.
  • Documentation:
Häufige Fragen

Was bedeutet isStable false?

Die Instanzgruppe erstellt, aktualisiert oder repariert gerade Instanzen und ist deshalb noch nicht stabil.

Welche Prüfung kommt zuerst?

Der Skill prüft zuerst den Slice-Status und danach die dahinterliegenden Instanzgruppen.

Braucht er Zugriff auf mein Projekt?

Ja. Er nutzt gcloud und GKE-Werkzeuge, du brauchst also Zugriff auf Projekt und Cluster.

Details

Originalbeschreibung des Autors

Diagnose and resolve GKE TPU Dynamic Slice creation and JobSet scheduling failures blocked by underlying Compute Engine managed instance groups (MIGs) stuck in an updating or unstable state (isStable=False). Use when TPU slice creation fails with a SliceCreationFailed status reason, when JobSets remain stuck in pending, or when MIG status reflects isStable=False or versionTarget.isReached=False during TPU slice formation. Don't use for SliceCreationFailed causes unrelated to MIG stability (use gke-ai-troubleshooting-tpu-dynamic-slices-monitoring) or general pod scheduling failures unrelated to

repo: google/skills

Beliebtheit

GitHub-Sterne
22k
Platz im Ranking
#10273
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