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.mdKopiere 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
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
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
kubectland configuring cluster credentials, follow the "Install kubectl", "Install required plugins", and "Store cluster information for kubectl" sections of Install kubectl and configure cluster access.
- For installing and initializing
- API Enablement & Billing:
- Verify that the project has an active Cloud Billing account.
- Enable APIs:
container.googleapis.com,compute.googleapis.com, andlogging.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.
- Logs Viewer (
- Documentation:
- Use dynamic slicing with a custom scheduler (Sections: "Before you begin", "Create a Slice custom resource", "Monitor the status of the Slice custom resource", "Verify the status of the nodes and the partitions", "Upgrade your node pools")
- Install kubectl and configure cluster access (Sections: "Install kubectl", "Install required plugins", "Store cluster information for kubectl")
- Add and manage node pools (Sections: "View node pools in a Standard cluster")
- View information about MIGs and managed instances (Sections: "Check whether a MIG is stable", "Check the status of managed instances", "List instance errors")
- Automatically apply VM configuration updates in a MIG (Sections: "Verify whether an update rollout is complete")
- Manually upgrade a cluster's control plane or node pools (Sections: "Check node pool upgrade status", "Cancel a node pool upgrade", "Resume a node pool upgrade", "Roll back a node pool upgrade")
- Auto-repair nodes (Sections: "Get information about recent automated repair events")
- Troubleshoot GKE Standard node pools (Sections: "Issue: Node pool creation fails due to insufficient resources")
- [Troubleshoot TPUs in GKE
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
Kommentare
- …
Weitere Skills aus diesem Repository
finding-google-skills
22kHilft deinem Agenten, die richtigen Google-Anleitungen für eine Einrichtungsaufgabe zu finden, etwa für Hosting, Datenbanken, Speicher, Anmeldung oder das Bereitstellen von KI-Modellen.
gcloud
22kHilft deinem Agenten, gcloud-Befehle für Google Cloud zu schreiben und zu prüfen, und schlägt die genaue Syntax nach, bevor etwas ausgeführt wird, damit keine Flags geraten werden.
google-cloud-recipe-auth
22kFührt deinen Agenten durch Identität und Zugriff in Google Cloud, einschließlich Anmeldung von Personen und Diensten und der Berechtigungen, die sie erhalten.
google-cloud-recipe-onboarding
22kFührt einen neuen Entwickler durch die ersten Schritte in Google Cloud, darunter Projektauswahl, Verknüpfung der Abrechnung und die Bereitstellung einer ersten Ressource.
Ähnliche Skills
openclaw-update
394kHilft deinem Agenten, ein bestehendes OpenClaw-Gateway zu aktualisieren, mit der Methode, die zu deiner Installation passt, während deine Sitzung weiterläuft.
diagnose-gateway
394kHilft deinem Agenten herauszufinden, warum dein OpenClaw-Gateway fehlschlägt, indem er Einstellungen, Kanäle und Ports prüft, ohne etwas zu ändern.
crabbox-apps
394kHilft deinem Agenten, eine App auf einer temporären Cloud-Maschine zu öffnen und auszuführen und ihre Ansicht in deinem Chat-Seitenpanel zu zeigen.