Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)22k · #10273

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

Ce qu’il fait

Cette skill aide un agent IA à comprendre pourquoi les slices TPU et les JobSets sont bloqués lorsque les groupes d'instances Compute Engine sous-jacents ne sont pas stables. Elle s'adresse aux ingénieurs qui font tourner des slices TPU sur GKE.

Quand l’utiliser

  • ✓Quand la création d'un slice TPU échoue avec SliceCreationFailed et qu'un groupe d'instances instable peut en être la cause.
  • ✓Quand un JobSet reste en attente et que son groupe d'instances affiche isStable false.
  • ✓Quand un groupe d'instances n'a pas encore atteint sa version cible.

Lien du skill

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Mon JobSet TPU est en attente depuis une heure et le groupe d'instances indique qu'il n'est pas stable. Que dois-je vérifier ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent vérifie d'abord le statut du slice, puis regarde si les groupes d'instances sous-jacents sont stables et ont atteint leurs versions cibles.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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:
Questions fréquentes

Que signifie isStable false ?

Cela signifie que le groupe d'instances est encore en création, en mise à jour ou en réparation, donc il n'est pas encore stable.

Quelle vérification vient en premier ?

La skill vérifie d'abord le statut du slice, puis les groupes d'instances qui se trouvent derrière.

A-t-elle besoin d'un accès à mon projet ?

Oui. Elle utilise les outils gcloud et GKE, vous avez donc besoin d'un accès au projet et au cluster.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
22k
Position au classement
#10273
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires