gke-ai-troubleshooting-tpu-partition-overlap
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
Install / Use
npx skills add google/skills --skill gke-ai-troubleshooting-tpu-partition-overlapInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of gke-ai-troubleshooting-tpu-partition-overlap
gke-ai-troubleshooting-tpu-partition-overlap scores 95/100 on our quality scale, 80th of 765 Operations skills we index (top 11%).
Its SKILL.md is 19 KB long, well organised into 9 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 26 days ago, so gke-ai-troubleshooting-tpu-partition-overlap is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
gke-ai-troubleshooting-tpu-partition-overlap compared with similar skills
All 4 of these similar skills score higher than gke-ai-troubleshooting-tpu-partition-overlap; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| gke-ai-troubleshooting-tpu-partition-overlap (this skill)by google | 95 | 20.3k | 26d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 27d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 27d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 137.2k | 5d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 137.2k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install gke-ai-troubleshooting-tpu-partition-overlap?
- Run
npx skills add google/skills --skill gke-ai-troubleshooting-tpu-partition-overlap. The install tabs above show the steps for each supported agent. - Which AI agents does gke-ai-troubleshooting-tpu-partition-overlap work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is gke-ai-troubleshooting-tpu-partition-overlap safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is gke-ai-troubleshooting-tpu-partition-overlap still maintained?
- The repository was last updated 26 days ago, so gke-ai-troubleshooting-tpu-partition-overlap is actively maintained.
Skill content
View source on GitHubname: gke-ai-troubleshooting-tpu-partition-overlap description: >- 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. metadata: version: "1.0.1" category: Containers
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:
- For installing and initializing
gcloud(which covers authentication and project selection), follow Before you begin. - For installing
kubectland required plugins, follow Install kubectl and Install required plugins.
- For installing and initializing
- Cloud Billing & Project Configuration: Ensure the project has an active
Cloud Billing account. Follow
Before you begin
to initialize
gcloudand 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 configurekubectlcluster credentials. - Required IAM Roles:
- Kubernetes Engine Viewer (
roles/container.viewer) - Monitoring Viewer (
roles/monitoring.viewer)
- Kubernetes Engine 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}: Google Cloud project ID{cluster_name}: GKE cluster name{location}: Cluster region or zone{slice_name}: Name of the Slice custom resource that failed to form{node_pool_name}: Name of the TPU node pool (or node pools) backing the partitions in{slice_name}, if known. If the user doesn't know{node_pool_name}, after Step 1 run the Cloud Monitoring query in Step 3 for the partition IDs in{partition_ids}and read thenode_pool_namelabel on the k8s_node_pool monitored resource.{issue_time}: Incident timestamp in RFC3339 UTC, if known. If the user doesn't know{issue_time}, use theLast Transition Time(lastTransitionTime, "A timestamp of the most recent status change" in Slice status) of theReadycondition from Step 1. By default, query Cloud Monitoring over a 60-minute window around{issue_time}.
Step 1: Confirm the SliceCreationFailed status [Low Risk]
To describe {slice_name}, follow the instructions in the section
Monitor the status of the Slice custom resource.
- In
Status>Conditions, check that theReasonof theReadycondition isSliceCreationFailed, and record itsLast Transition Time(to use as{issue_time}if needed). - Record the IDs in
Spec>Partition Idsas{partition_ids}, theTopology, and anyLabelsandAnnotationson{slice_name}. - If the
Readyreason isn'tSliceCreationFailed, this skill doesn't apply. See Slice status for what each reason means, and hand off togke-ai-troubleshooting-tpu-dynamic-slices-monitoring.
Step 2: Rule out the other documented causes [Low Risk]
Per
Create a Slice custom resource,
slice creation also fails with SliceCreationFailed when:
- The selected nodes don't exist.
- The topology doesn't match the number of partitions. A dynamic sub-slice lists
exactly one partition ID. A dynamic super-slice lists
(A × B × C) / 64partition IDs.
If either of those causes applies, hand off to
gke-ai-troubleshooting-tpu-dynamic-slices-monitoring.
Otherwise, follow
Verify the status of the nodes and the partitions
on {node_pool_name}:
- Verify that the nodes exist and carry each ID in
{partition_ids}. - On the nodes that carry
{partition_ids}, record every partition ID of every shape (4x4x4,2x4x4,2x2x4,2x2x2, and2x2x1) from thecloud.google.com/gke-tpu-partition-.*-idlabels. Per Dynamic slicing configurations, dynamic sub-slicing partitions a4x4x4sub-block into smaller topologies on the same physical node pool, so partitions of different shapes share the same nodes. - Read each partition's
cloud.google.com/gke-tpu-partition-.*-statelabel. Per Verify the status of the nodes and the partitions and Define the partition health selection, countHEALTHYpartitions andDEGRADED4x4x4partitions ("still usable for dynamic slice formation"; "Smaller topologies don't have a degraded state") as available. Partitions inUNHEALTHY("can't be used to form a slice"),UNSET, orINCOMPLETEaren't available. If a requested partition is inUNHEALTHY,UNSET, orINCOMPLETE, suggest an available partition whose nodes no other slice uses (Step 4, item 2), hand off togke-ai-troubleshooting-tpu-dynamic-slices-monitoring, or escalate to Cloud Customer Care (Step 4, item 4).
Step 3: Find the slice that uses the same nodes [Low Risk]
Per
Create a Slice custom resource,
slice creation fails with SliceCreationFailed when any nodes on the custom
resource are used by another slice. Because partitions of different shapes on
the same sub-block share nodes (see
Dynamic slicing configurations),
another slice conflicts with {slice_name} if it lists any of the partition
IDs (of any shape) recorded on {slice_name}'s nodes in Step 2.
- List the
Slicecustom resources in the cluster (as shown in Delete the slice) and describe each one following Monitor the status of the Slice custom resource to readSpec>Partition Ids,Metadata>Labels, andStatus>Conditions(Readyreason):- Treat any slice other than
{slice_name}whoseSpec>Partition Idsincludes any partition ID recorded on{slice_name}'s nodes in Step 2 (whether the exact ID in{partition_ids}or another shape's partition ID on the same nodes) as conflicting. Record its name, itsReadyreason (such asACTIVE), and whether Kueue manages it (Step 4, item 1).
- Treat any slice other than
- To check partition-to-slice associations in Cloud Monitoring (including
around
{issue_time}), query thekubernetes.io/accelerator/partition/statemetric listed in Monitor the metrics of the slice. Per Kubernetes metrics, this metric "is 1 if the partition state is detected, 0 otherwise", and its labels includepartition_id,slice_id("ID of the associated slice"), andstate("Health of the partition (e.g., HEALTHY, UNHEALTHY)"). Run the query for each{partition_id}recorded on{slice_name}'s nodes in Step 2:
kubernetes_io:accelerator_partition_state{
monitored_resource="k8s_node_pool",
cluster_name="{cluster_name}",
partition_id="{partition_id}"
}
- Read only time series whose value is
1(wherestate="HEALTHY"means the partition is healthy and functional, per Verify the status of the nodes and the partitions).
Truncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
137.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
137.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
