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

gke-ai-troubleshooting-tpu-partition-overlap

O que ela faz

Esta skill ajuda um agente de IA a descobrir por que um slice de TPU no Google Kubernetes Engine falha com SliceCreationFailed. Ela é para equipes que rodam cargas de TPU com slices dinâmicos.

Quando usar

  • ✓Quando um slice de TPU mostra o motivo de status SliceCreationFailed com um conflito de partição ou de nós.
  • ✓Quando você suspeita que outro slice ou JobSet está usando os mesmos nós de TPU.
  • ✓Quando você precisa descartar as outras causas conhecidas de falha de slice antes de culpar um conflito.

Link da skill

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-partition-overlap/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-partition-overlap/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 novo slice de TPU no GKE continua falhando com SliceCreationFailed. Outro slice pode estar usando os mesmos nós?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente confirma a falha, descarta as outras causas conhecidas, encontra o slice que usa os mesmos nós e depois indica a correção pelo GKE.

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

Texto original do autor, em inglês, direto do GitHub.

Troubleshoot TPU slice creation failures caused by partition overlap

A dynamic slice fails to form with the status reason SliceCreationFailed when, among other documented causes, any of its nodes are already used by another slice. This skill confirms the failure, rules out the other documented causes, finds the slice that uses the same nodes, and routes the fix through GKE.

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

Prerequisites

  • Tools:
  • Cloud Billing & Project Configuration: Ensure the project has an active Cloud Billing account. Follow Before you begin to initialize gcloud and enable the Google Kubernetes Engine API (container.googleapis.com), ensure the Cloud Monitoring API (monitoring.googleapis.com) is enabled, and follow Store cluster information for kubectl to configure kubectl cluster credentials.
  • Required IAM Roles:
    • Kubernetes Engine Viewer (roles/container.viewer)
    • Monitoring Viewer (roles/monitoring.viewer)
  • Documentation:
    • Use dynamic slicing with a custom scheduler (Sections: "Before you begin", "Target your node pool to belong to a block or a sub-block", "Verify the status of the nodes and the partitions", "Create a Slice custom resource", "Monitor the status of the Slice custom resource", "Delete the slice")
    • Configure cluster access for kubectl (Sections: "Install kubectl", "Install required plugins", "Store cluster information for kubectl")
    • Slice (Sections: "Slice status", "Slice specification")
    • Schedule dynamic slices with Kueue and TAS (Sections: "Target your node pool to belong to a block or a sub-block", "Create a dynamic slice with Kueue and TAS", "Define the partition health selection", "Optimize workload scheduling with slice reuse", "Enable Slice reuse", "Enforce slice deletion per workload", "Monitor the status of the slice", "Monitor the metrics of the slice", "Clean up")
    • GKE system metrics (Sections: "Kubernetes metrics")
    • Monitored resource types (Sections: "k8s_node_pool")
    • About GKE dynamic slicing (Sections: "Dynamic slicing configurations")
    • Get support (Sections: "Before you contact support", "Recommendations for efficient support")

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 [Low Risk]

Collect the target parameters:

  • {project_id}: G
Perguntas frequentes

Ela cobre falhas de slice que não têm relação com sobreposição?

Não. Ela diz para não usar em falhas de slice sem conflito de nó ou partição.

Ela muda o outro slice para mim?

A skill envia a correção pelo GKE, em vez de fazer alterações diretas, então você continua no controle.

O que preciso ter antes de começar?

Você precisa do Google Cloud SDK, do kubectl e de acesso ao cluster, como descrevem os passos de configuração.

Detalhes

Descrição original do autor

Diagnose and resolve GKE TPU slice creation failures (SliceCreationFailed) caused by partition overlap conflicts where requested TPU partitions or their nodes are already used by another slice or JobSet. Use when diagnosing GKE TPU slice creation failures with SliceCreationFailed partition or node conflicts. Don't use for general slice lifecycle states or slice provisioning failures without node overlap (use gke-ai-troubleshooting-tpu-dynamic-slices-monitoring), quota exhaustion, or unresponsive TPU nodes.

repo: google/skills

Popularidade

Estrelas no GitHub
22 mil
Posição no ranking
#10270
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