Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)22 mil · #10273

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

O que ela faz

Esta skill ajuda um agente de IA a descobrir por que slices de TPU e JobSets ficam presos quando os grupos de instâncias do Compute Engine por trás deles não estão estáveis. Ela é para engenheiros que rodam slices de TPU no GKE.

Quando usar

  • ✓Quando a criação de um slice de TPU falha com SliceCreationFailed e um grupo de instâncias instável pode ser a causa.
  • ✓Quando um JobSet fica pendente e o grupo de instâncias mostra isStable false.
  • ✓Quando um grupo de instâncias ainda não chegou à versão alvo.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Meu JobSet de TPU está pendente há uma hora e o grupo de instâncias diz que não está estável. O que devo verificar?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente verifica primeiro o status do slice e depois se os grupos de instâncias por trás dele estão estáveis e já atingiram suas versões alvo.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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:
Perguntas frequentes

O que significa isStable false?

Significa que o grupo de instâncias ainda está criando, atualizando ou reparando instâncias, então ainda não está estável.

Qual verificação vem primeiro?

A skill verifica primeiro o status do slice e depois os grupos de instâncias por trás dele.

Ela precisa de acesso ao meu projeto?

Sim. Ela usa as ferramentas gcloud e do GKE, então você precisa de acesso ao projeto e ao cluster.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
22 mil
Posição no ranking
#10273
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas