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

gke-ai-troubleshooting-tpu-partition-overlap

Was er macht

Dieser Skill hilft einem KI-Agenten herauszufinden, warum ein TPU-Slice auf Google Kubernetes Engine mit SliceCreationFailed fehlschlägt. Er ist für Teams, die TPU-Workloads mit dynamischen Slices betreiben.

Wann du ihn nutzt

  • ✓Wenn ein TPU-Slice den Statusgrund SliceCreationFailed mit einem Partitions- oder Knotenkonflikt zeigt.
  • ✓Wenn du vermutest, dass ein anderer Slice oder ein anderes JobSet dieselben TPU-Knoten nutzt.
  • ✓Wenn du die anderen bekannten Ursachen für einen Slice-Fehler ausschließen musst, bevor du einen Konflikt verantwortlich machst.

Link zum Skill

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-partition-overlap/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-partition-overlap/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 neuer TPU-Slice auf GKE schlägt immer wieder mit SliceCreationFailed fehl. Könnte ein anderer Slice dieselben Knoten nutzen?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent bestätigt den Fehler, schließt die anderen bekannten Ursachen aus, findet den Slice, der dieselben Knoten nutzt, und zeigt dann auf die Lösung über GKE.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Deckt er Slice-Fehler ab, die nichts mit Überschneidung zu tun haben?

Nein. Der Skill sagt, ihn nicht für Slice-Fehler ohne Knoten- oder Partitionskonflikt zu nutzen.

Verändert er den anderen Slice für mich?

Der Skill schickt die Lösung über GKE statt direkte Änderungen vorzunehmen, damit du die Kontrolle behältst.

Was brauche ich vorher?

Du brauchst das Google Cloud SDK, kubectl und Zugriff auf den Cluster, wie die Einrichtungsschritte beschreiben.

Details

Originalbeschreibung des Autors

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

Beliebtheit

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