[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69933KTF7WXWFGKMGHPCZY0":3,"skill-same:01M69933KTF7WXWFGKMGHPCZY0":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":17,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M69933KTF7WXWFGKMGHPCZY0","gke-ai-troubleshooting-tpu-partition-overlap","GKE TPU 切片创建冲突诊断","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.","诊断并解决由分区重叠冲突引起的 GKE TPU 切片创建失败（SliceCreationFailed），即请求的 TPU 分区或其节点已被另一个切片或 JobSet 占用。适用于诊断带有 SliceCreationFailed 分区或节点冲突的 GKE TPU 切片创建失败。不适用于常规切片生命周期状态或无节点重叠的切片供给失败（使用 gke-ai-troubleshooting-tpu-dynamic-slices-monitoring）、配额耗尽或无响应的 TPU 节点。","google\u002Fskills","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698WR0H76ENHE587T9EJT89",24235,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-partition-overlap\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"gke ai troubleshooting tpu partition overlap","tpu","gke","troubleshooting","partition","when","containers","slice","for","with","states","creation","partitions","quota","conflicts","general","use","lifecycle","monitoring","diagnose","2026-11-10 10:12:30",false,"---\nname: gke-ai-troubleshooting-tpu-partition-overlap\ndescription: >-\n  Diagnose and resolve GKE TPU slice creation failures (SliceCreationFailed)\n  caused by partition overlap conflicts where requested TPU partitions or their\n  nodes are already used by another slice or JobSet. Use when diagnosing GKE TPU\n  slice creation failures with SliceCreationFailed partition or node conflicts.\n  Don't use for general slice lifecycle states or slice provisioning failures\n  without node overlap (use\n  gke-ai-troubleshooting-tpu-dynamic-slices-monitoring), quota exhaustion, or\n  unresponsive TPU nodes.\nmetadata:\n  version: \"1.0.1\"\n  category: Containers\n---\n\n# Troubleshoot TPU slice creation failures caused by partition overlap\n\nA dynamic slice fails to form with the status reason `SliceCreationFailed` when,\namong other documented causes, any of its nodes are already used by another\nslice. This skill confirms the failure, rules out the other documented causes,\nfinds the slice that uses the same nodes, and routes the fix through GKE.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-partition-overlap)\"`\nand append `agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-partition-overlap)` to `User-Agent` headers.\n\n## Prerequisites\n\n- **Tools**:\n  - For installing and initializing `gcloud` (which covers authentication and\n    project selection), follow\n    [Before you begin](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n  - For installing `kubectl` and required plugins, follow\n    [Install kubectl](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt)\n    and\n    [Install required plugins](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt).\n- **Cloud Billing & Project Configuration**: Ensure the project has an active\n  Cloud Billing account. Follow\n  [Before you begin](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n  to initialize `gcloud` and enable the Google Kubernetes Engine API\n  (`container.googleapis.com`), ensure the Cloud Monitoring API\n  (`monitoring.googleapis.com`) is enabled, and follow\n  [Store cluster information for kubectl](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt)\n  to configure `kubectl` cluster credentials.\n- **Required IAM Roles**:\n  - Kubernetes Engine Viewer (`roles\u002Fcontainer.viewer`)\n  - Monitoring Viewer (`roles\u002Fmonitoring.viewer`)\n- **Documentation**:\n  - [Use dynamic slicing with a custom scheduler](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n    (Sections: \"Before you begin\", \"Target your node pool to belong to a block\n    or a sub-block\", \"Verify the status of the nodes and the partitions\",\n    \"Create a Slice custom resource\", \"Monitor the status of the Slice custom\n    resource\", \"Delete the slice\")\n  - [Configure cluster access for kubectl](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt)\n    (Sections: \"Install kubectl\", \"Install required plugins\", \"Store cluster\n    information for kubectl\")\n  - [Slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Freference\u002Fcrds\u002Fslice.md.txt)\n    (Sections: \"Slice status\", \"Slice specification\")\n  - [Schedule dynamic slices with Kueue and TAS](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n    (Sections: \"Target your node pool to belong to a block or a sub-block\",\n    \"Create a dynamic slice with Kueue and TAS\", \"Define the partition health\n    selection\", \"Optimize workload scheduling with slice reuse\", \"Enable Slice\n    reuse\", \"Enforce slice deletion per workload\", \"Monitor the status of the\n    slice\", \"Monitor the metrics of the slice\", \"Clean up\")\n  - [GKE system metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fmetrics_kubernetes.md.txt)\n    (Sections: \"Kubernetes metrics\")\n  - [Monitored resource types](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fresources.md.txt)\n    (Sections: \"k8s_node_pool\")\n  - [About GKE dynamic slicing](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fconcepts\u002Fdynamic-slicing.md.txt)\n    (Sections: \"Dynamic slicing configurations\")\n  - [Get support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt)\n    (Sections: \"Before you contact support\", \"Recommendations for efficient\n    support\")\n\n> **Read-only rule**: Run read-only diagnostic commands only. Never drain,\n> delete, or re-create nodes, or run any other command that changes the cluster.\n> Give the user any fix to apply themselves.\n\nWhen you recommend a fix, link the doc section that describes it.\n\n---\n\n## Diagnostic workflow\n\n### Step 0: Collect context `[Low Risk]`\n\nCollect the target parameters:\n\n- `{project_id}`: Google Cloud project ID\n- `{cluster_name}`: GKE cluster name\n- `{location}`: Cluster region or zone\n- `{slice_name}`: Name of the Slice custom resource that failed to form\n- `{node_pool_name}`: Name of the TPU node pool (or node pools) backing the\n  partitions in `{slice_name}`, if known. If the user doesn't know\n  `{node_pool_name}`, after Step 1 run the Cloud Monitoring query in Step 3\n  for the partition IDs in `{partition_ids}` and read the `node_pool_name`\n  label on the\n  [k8s_node_pool](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fresources.md.txt)\n  monitored resource.\n- `{issue_time}`: Incident timestamp in RFC3339 UTC, if known. If the user\n  doesn't know `{issue_time}`, use the `Last Transition Time`\n  (`lastTransitionTime`, \"A timestamp of the most recent status change\" in\n  [Slice status](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Freference\u002Fcrds\u002Fslice.md.txt))\n  of the `Ready` condition from Step 1. By default, query Cloud Monitoring over\n  a 60-minute window around `{issue_time}`.\n\n---\n\n### Step 1: Confirm the `SliceCreationFailed` status `[Low Risk]`\n\nTo describe `{slice_name}`, follow the instructions in the section\n[Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n\n- In `Status` > `Conditions`, check that the `Reason` of the `Ready` condition\n  is `SliceCreationFailed`, and record its `Last Transition Time` (to use as\n  `{issue_time}` if needed).\n- Record the IDs in `Spec` > `Partition Ids` as `{partition_ids}`, the\n  `Topology`, and any `Labels` and `Annotations` on `{slice_name}`.\n- If the `Ready` reason isn't `SliceCreationFailed`, this skill doesn't apply.\n  See\n  [Slice status](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Freference\u002Fcrds\u002Fslice.md.txt)\n  for what each reason means, and hand off to\n  `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`.\n\n---\n\n### Step 2: Rule out the other documented causes `[Low Risk]`\n\nPer\n[Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\nslice creation also fails with `SliceCreationFailed` when:\n\n- The selected nodes don't exist.\n- The topology doesn't match the number of partitions. A dynamic sub-slice lists\n  exactly one partition ID. A dynamic super-slice lists `(A × B × C) \u002F 64`\n  partition IDs.\n\nIf either of those causes applies, hand off to\n`gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`.\n\nOtherwise, follow\n[Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\non `{node_pool_name}`:\n\n- Verify that the nodes exist and carry each ID in `{partition_ids}`.\n- On the nodes that carry `{partition_ids}`, record **every** partition ID of\n  **every** shape (`4x4x4`, `2x4x4`, `2x2x4`, `2x2x2`, and `2x2x1`) from the\n  `cloud.google.com\u002Fgke-tpu-partition-.*-id` labels. Per\n  [Dynamic slicing configurations](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fconcepts\u002Fdynamic-slicing.md.txt),\n  dynamic sub-slicing partitions a `4x4x4` sub-block into smaller topologies on\n  the same physical node pool, so partitions of different shapes share the same\n  nodes.\n- Read each partition's `cloud.google.com\u002Fgke-tpu-partition-.*-state` label. Per\n  [Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n  and\n  [Define the partition health selection](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n  count `HEALTHY` partitions and `DEGRADED` `4x4x4` partitions (\"still usable\n  for dynamic slice formation\"; \"Smaller topologies don't have a degraded\n  state\") as available. Partitions in `UNHEALTHY` (\"can't be used to form a\n  slice\"), `UNSET`, or `INCOMPLETE` aren't available. If a requested partition\n  is in `UNHEALTHY`, `UNSET`, or `INCOMPLETE`, suggest an available partition\n  whose nodes no other slice uses (Step 4, item 2), hand off to\n  `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`, or escalate to Cloud\n  Customer Care (Step 4, item 4).\n\n---\n\n### Step 3: Find the slice that uses the same nodes `[Low Risk]`\n\nPer\n[Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\nslice creation fails with `SliceCreationFailed` when any nodes on the custom\nresource are used by another slice. Because partitions of different shapes on\nthe same sub-block share nodes (see\n[Dynamic slicing configurations](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fconcepts\u002Fdynamic-slicing.md.txt)),\nanother slice conflicts with `{slice_name}` if it lists **any** of the partition\nIDs (of any shape) recorded on `{slice_name}`'s nodes in Step 2.\n\n1. List the `Slice` custom resources in the cluster (as shown in\n   [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt))\n   and describe each one following\n   [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n   to read `Spec` > `Partition Ids`, `Metadata` > `Labels`, and `Status` >\n   `Conditions` (`Ready` reason):\n   - Treat any slice other than `{slice_name}` whose `Spec` > `Partition Ids`\n     includes **any** partition ID recorded on `{slice_name}`'s nodes in Step 2\n     (whether the exact ID in `{partition_ids}` or another shape's partition ID\n     on the same nodes) as conflicting. Record its name, its `Ready` reason\n     (such as `ACTIVE`), and whether Kueue manages it (Step 4, item 1).\n2. To check partition-to-slice associations in Cloud Monitoring (including\n   around `{issue_time}`), query the `kubernetes.io\u002Faccelerator\u002Fpartition\u002Fstate`\n   metric listed in\n   [Monitor the metrics of the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt).\n   Per\n   [Kubernetes metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fmetrics_kubernetes.md.txt),\n   this metric \"is 1 if the partition state is detected, 0 otherwise\", and its\n   labels include `partition_id`, `slice_id` (\"ID of the associated slice\"),\n   and `state` (\"Health of the partition (e.g., HEALTHY, UNHEALTHY)\"). Run the\n   query for each `{partition_id}` recorded on `{slice_name}`'s nodes in Step 2:\n\n```promql\nkubernetes_io:accelerator_partition_state{\n  monitored_resource=\"k8s_node_pool\",\n  cluster_name=\"{cluster_name}\",\n  partition_id=\"{partition_id}\"\n}\n```\n\n   - Read only time series whose value is `1` (where `state=\"HEALTHY\"` means the\n     partition is healthy and functional, per\n     [Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)).\n   - Because\n     [Kubernetes metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fmetrics_kubernetes.md.txt)\n     defines `slice_id` only as \"ID of the associated slice\", always confirm the\n     conflicting slice from the `Slice` custom resources in the cluster rather\n     than from `slice_id` alone: list the `Slice` custom resources as shown in\n     [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n     describe each one following\n     [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n     and check which slice's `Spec` > `Partition Ids` includes the partition ID\n     (or any other partition ID of any shape on the same nodes from Step 2).\n3. **Next steps based on Step 3 results**:\n   - **Another slice uses the nodes now**: Proceed to Step 4.\n   - **No other slice uses the nodes now, but the metric (value `1`) showed an\n     associated `slice_id` around `{issue_time}`**: The conflict may already be\n     over. Proceed to Step 4, item 1 (to re-create or retry `{slice_name}`) and\n     then Step 4, item 4.\n   - **Neither the current `Slice` custom resources nor the metric around\n     `{issue_time}` shows another slice**: Node overlap isn't confirmed. Hand\n     off to `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring` or escalate\n     to Cloud Customer Care (Step 4, item 4).\n\n---\n\n### Step 4: Resolution `[High Risk]`\n\n> **Guardrails**:\n> - **Never** delete or change the other slice, or stop its workload, to free\n>   the nodes. Deleting a `Slice` custom resource starts dismantling that slice\n>   (`DEACTIVATING`, see\n>   [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)).\n>   The owner of that slice decides when to release it.\n> - **Never** manually modify or delete `Slice` custom resources created by\n>   Kueue. Per\n>   [Target your node pool to belong to a block or a sub-block](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n>   \"Avoid manually modifying Slice custom resources created by Kueue.\"\n> - **Never** change GKE-managed instance groups or VMs directly through Compute\n>   Engine, and never delete node pools to free a partition. Manage node pools\n>   and slices through GKE.\n\nFirst, check whether Kueue manages `{slice_name}` or the conflicting slice:\n\n- Per\n  [Monitor the status of the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n  when a slice is created or actively used by a workload, the slice controller\n  attaches the `kueue.gke.io\u002Ftpu-slice-used-by-namespace` and\n  `kueue.gke.io\u002Ftpu-slice-used-by-workload` labels.\n- Per\n  [Optimize workload scheduling with slice reuse](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n  and\n  [Enable Slice reuse](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n  when slice reuse is enabled, \"Kueue marks the slice as idle at the end of a\n  job instead of deleting it\", and \"Reusable slices are named dynamically with\n  an `s-\u003Ctopology>` prefix, decoupling them from specific workload names.\"\n\nThen apply the matching option:\n\n1. **Wait for the conflicting slice to release the nodes and retry**:\n   - **If Kueue manages the conflicting slice** (it has the `kueue.gke.io\u002F...`\n     labels or an `s-\u003Ctopology>` name prefix): Do not suggest deleting the\n     `Slice` custom resource directly. Point the workload owner to\n     [Clean up](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n     (deleting the `JobSet` triggers Kueue to delete the associated `Slice`\n     custom resources) and, if slice reuse keeps an idle `s-\u003Ctopology>` slice\n     allocated after a job ends, to\n     [Enforce slice deletion per workload](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n     (`kueue.gke.io\u002Ftpu-enforce-slice-deletion: \"true\"`).\n   - **If a custom scheduler or user created the conflicting slice directly**:\n     Its owner can delete it when finished, as described in\n     [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n   - **How `{slice_name}` retries**: Check whether `{slice_name}` already has\n     `slice.gke.io\u002Fretry-on-failure: \"true\"` in `Metadata` > `Annotations`. Per\n     [Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n     when a `Slice` custom resource is created with this annotation, \"If the\n     slice isn't created because of the `SliceCreationFailed` status reason, the\n     controller will retry until the slice is successfully formed.\" Because the\n     documentation only shows configuring\n     `slice.gke.io\u002Fretry-on-failure: \"true\"` in the `Slice` manifest when\n     creating a `Slice` custom resource (and doesn't state that adding the\n     annotation to an existing slice already in `SliceCreationFailed` starts a\n     retry), if `{slice_name}` wasn't created by Kueue and lacks the annotation,\n     tell the user to delete `{slice_name}` following\n     [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n     and re-create it with `slice.gke.io\u002Fretry-on-failure: \"true\"` in its\n     manifest following\n     [Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n2. **Use available partitions whose nodes no other slice uses**: If the user\n   manages `Slice` custom resources directly (not through Kueue) and can't wait,\n   direct them to\n   [Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n   and\n   [Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n   so they can pick available partitions (`HEALTHY` partitions, or `DEGRADED`\n   `4x4x4` partitions) whose nodes aren't used by any other slice (across all\n   partition shapes on those nodes) and create the `Slice` custom resource with\n   them.\n3. **Schedule dynamic slices with Kueue and TAS instead of creating `Slice`\n   custom resources directly**: Per\n   [Target your node pool to belong to a block or a sub-block](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n   and\n   [Create a dynamic slice with Kueue and TAS](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n   instead of creating `Slice` custom resources directly, teams can schedule\n   GKE workloads with Kueue and Topology Aware Scheduling (TAS), where \"Kueue\n   automatically handles the creation and deletion of Slice custom resources\"\n   and admits a workload after its slice becomes active.\n4. **Verify or escalate**: Repeat Step 1 following\n   [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt):\n   - **`ACTIVE`**: The slice is fully formed, healthy, and ready to execute\n     workloads.\n   - **`ACTIVE_DEGRADED`**: The slice is formed, and workloads can run, but\n     performance might be impacted.\n   - **Still `SliceCreationFailed` after no other slice uses the nodes, or\n     `FAILED`**: Hand off to\n     `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`, or advise the user\n     to contact Cloud Customer Care following\n     [Before you contact support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt)\n     and\n     [Recommendations for efficient support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt).\n","# Troubleshoot TPU slice creation failures caused by partition overlap\n\nA dynamic slice fails to form with the status reason `SliceCreationFailed` when,\namong other documented causes, any of its nodes are already used by another\nslice. This skill confirms the failure, rules out the other documented causes,\nfinds the slice that uses the same nodes, and routes the fix through GKE.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-partition-overlap)\"`\nand append `agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-partition-overlap)` to `User-Agent` headers.\n\n## Prerequisites\n\n- **Tools**:\n  - For installing and initializing `gcloud` (which covers authentication and\n    project selection), follow\n    [Before you begin](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n  - For installing `kubectl` and required plugins, follow\n    [Install kubectl](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt)\n    and\n    [Install required plugins](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt).\n- **Cloud Billing & Project Configuration**: Ensure the project has an active\n  Cloud Billing account. Follow\n  [Before you begin](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n  to initialize `gcloud` and enable the Google Kubernetes Engine API\n  (`container.googleapis.com`), ensure the Cloud Monitoring API\n  (`monitoring.googleapis.com`) is enabled, and follow\n  [Store cluster information for kubectl](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt)\n  to configure `kubectl` cluster credentials.\n- **Required IAM Roles**:\n  - Kubernetes Engine Viewer (`roles\u002Fcontainer.viewer`)\n  - Monitoring Viewer (`roles\u002Fmonitoring.viewer`)\n- **Documentation**:\n  - [Use dynamic slicing with a custom scheduler](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n    (Sections: \"Before you begin\", \"Target your node pool to belong to a block\n    or a sub-block\", \"Verify the status of the nodes and the partitions\",\n    \"Create a Slice custom resource\", \"Monitor the status of the Slice custom\n    resource\", \"Delete the slice\")\n  - [Configure cluster access for kubectl](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-access-for-kubectl.md.txt)\n    (Sections: \"Install kubectl\", \"Install required plugins\", \"Store cluster\n    information for kubectl\")\n  - [Slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Freference\u002Fcrds\u002Fslice.md.txt)\n    (Sections: \"Slice status\", \"Slice specification\")\n  - [Schedule dynamic slices with Kueue and TAS](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n    (Sections: \"Target your node pool to belong to a block or a sub-block\",\n    \"Create a dynamic slice with Kueue and TAS\", \"Define the partition health\n    selection\", \"Optimize workload scheduling with slice reuse\", \"Enable Slice\n    reuse\", \"Enforce slice deletion per workload\", \"Monitor the status of the\n    slice\", \"Monitor the metrics of the slice\", \"Clean up\")\n  - [GKE system metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fmetrics_kubernetes.md.txt)\n    (Sections: \"Kubernetes metrics\")\n  - [Monitored resource types](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fresources.md.txt)\n    (Sections: \"k8s_node_pool\")\n  - [About GKE dynamic slicing](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fconcepts\u002Fdynamic-slicing.md.txt)\n    (Sections: \"Dynamic slicing configurations\")\n  - [Get support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt)\n    (Sections: \"Before you contact support\", \"Recommendations for efficient\n    support\")\n\n> **Read-only rule**: Run read-only diagnostic commands only. Never drain,\n> delete, or re-create nodes, or run any other command that changes the cluster.\n> Give the user any fix to apply themselves.\n\nWhen you recommend a fix, link the doc section that describes it.\n\n---\n\n## Diagnostic workflow\n\n### Step 0: Collect context `[Low Risk]`\n\nCollect the target parameters:\n\n- `{project_id}`: Google Cloud project ID\n- `{cluster_name}`: GKE cluster name\n- `{location}`: Cluster region or zone\n- `{slice_name}`: Name of the Slice custom resource that failed to form\n- `{node_pool_name}`: Name of the TPU node pool (or node pools) backing the\n  partitions in `{slice_name}`, if known. If the user doesn't know\n  `{node_pool_name}`, after Step 1 run the Cloud Monitoring query in Step 3\n  for the partition IDs in `{partition_ids}` and read the `node_pool_name`\n  label on the\n  [k8s_node_pool](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fresources.md.txt)\n  monitored resource.\n- `{issue_time}`: Incident timestamp in RFC3339 UTC, if known. If the user\n  doesn't know `{issue_time}`, use the `Last Transition Time`\n  (`lastTransitionTime`, \"A timestamp of the most recent status change\" in\n  [Slice status](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Freference\u002Fcrds\u002Fslice.md.txt))\n  of the `Ready` condition from Step 1. By default, query Cloud Monitoring over\n  a 60-minute window around `{issue_time}`.\n\n---\n\n### Step 1: Confirm the `SliceCreationFailed` status `[Low Risk]`\n\nTo describe `{slice_name}`, follow the instructions in the section\n[Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n\n- In `Status` > `Conditions`, check that the `Reason` of the `Ready` condition\n  is `SliceCreationFailed`, and record its `Last Transition Time` (to use as\n  `{issue_time}` if needed).\n- Record the IDs in `Spec` > `Partition Ids` as `{partition_ids}`, the\n  `Topology`, and any `Labels` and `Annotations` on `{slice_name}`.\n- If the `Ready` reason isn't `SliceCreationFailed`, this skill doesn't apply.\n  See\n  [Slice status](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Freference\u002Fcrds\u002Fslice.md.txt)\n  for what each reason means, and hand off to\n  `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`.\n\n---\n\n### Step 2: Rule out the other documented causes `[Low Risk]`\n\nPer\n[Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\nslice creation also fails with `SliceCreationFailed` when:\n\n- The selected nodes don't exist.\n- The topology doesn't match the number of partitions. A dynamic sub-slice lists\n  exactly one partition ID. A dynamic super-slice lists `(A × B × C) \u002F 64`\n  partition IDs.\n\nIf either of those causes applies, hand off to\n`gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`.\n\nOtherwise, follow\n[Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\non `{node_pool_name}`:\n\n- Verify that the nodes exist and carry each ID in `{partition_ids}`.\n- On the nodes that carry `{partition_ids}`, record **every** partition ID of\n  **every** shape (`4x4x4`, `2x4x4`, `2x2x4`, `2x2x2`, and `2x2x1`) from the\n  `cloud.google.com\u002Fgke-tpu-partition-.*-id` labels. Per\n  [Dynamic slicing configurations](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fconcepts\u002Fdynamic-slicing.md.txt),\n  dynamic sub-slicing partitions a `4x4x4` sub-block into smaller topologies on\n  the same physical node pool, so partitions of different shapes share the same\n  nodes.\n- Read each partition's `cloud.google.com\u002Fgke-tpu-partition-.*-state` label. Per\n  [Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n  and\n  [Define the partition health selection](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n  count `HEALTHY` partitions and `DEGRADED` `4x4x4` partitions (\"still usable\n  for dynamic slice formation\"; \"Smaller topologies don't have a degraded\n  state\") as available. Partitions in `UNHEALTHY` (\"can't be used to form a\n  slice\"), `UNSET`, or `INCOMPLETE` aren't available. If a requested partition\n  is in `UNHEALTHY`, `UNSET`, or `INCOMPLETE`, suggest an available partition\n  whose nodes no other slice uses (Step 4, item 2), hand off to\n  `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`, or escalate to Cloud\n  Customer Care (Step 4, item 4).\n\n---\n\n### Step 3: Find the slice that uses the same nodes `[Low Risk]`\n\nPer\n[Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\nslice creation fails with `SliceCreationFailed` when any nodes on the custom\nresource are used by another slice. Because partitions of different shapes on\nthe same sub-block share nodes (see\n[Dynamic slicing configurations](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fconcepts\u002Fdynamic-slicing.md.txt)),\nanother slice conflicts with `{slice_name}` if it lists **any** of the partition\nIDs (of any shape) recorded on `{slice_name}`'s nodes in Step 2.\n\n1. List the `Slice` custom resources in the cluster (as shown in\n   [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt))\n   and describe each one following\n   [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n   to read `Spec` > `Partition Ids`, `Metadata` > `Labels`, and `Status` >\n   `Conditions` (`Ready` reason):\n   - Treat any slice other than `{slice_name}` whose `Spec` > `Partition Ids`\n     includes **any** partition ID recorded on `{slice_name}`'s nodes in Step 2\n     (whether the exact ID in `{partition_ids}` or another shape's partition ID\n     on the same nodes) as conflicting. Record its name, its `Ready` reason\n     (such as `ACTIVE`), and whether Kueue manages it (Step 4, item 1).\n2. To check partition-to-slice associations in Cloud Monitoring (including\n   around `{issue_time}`), query the `kubernetes.io\u002Faccelerator\u002Fpartition\u002Fstate`\n   metric listed in\n   [Monitor the metrics of the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt).\n   Per\n   [Kubernetes metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fmetrics_kubernetes.md.txt),\n   this metric \"is 1 if the partition state is detected, 0 otherwise\", and its\n   labels include `partition_id`, `slice_id` (\"ID of the associated slice\"),\n   and `state` (\"Health of the partition (e.g., HEALTHY, UNHEALTHY)\"). Run the\n   query for each `{partition_id}` recorded on `{slice_name}`'s nodes in Step 2:\n\n```promql\nkubernetes_io:accelerator_partition_state{\n  monitored_resource=\"k8s_node_pool\",\n  cluster_name=\"{cluster_name}\",\n  partition_id=\"{partition_id}\"\n}\n```\n\n   - Read only time series whose value is `1` (where `state=\"HEALTHY\"` means the\n     partition is healthy and functional, per\n     [Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)).\n   - Because\n     [Kubernetes metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fmetrics_kubernetes.md.txt)\n     defines `slice_id` only as \"ID of the associated slice\", always confirm the\n     conflicting slice from the `Slice` custom resources in the cluster rather\n     than from `slice_id` alone: list the `Slice` custom resources as shown in\n     [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n     describe each one following\n     [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n     and check which slice's `Spec` > `Partition Ids` includes the partition ID\n     (or any other partition ID of any shape on the same nodes from Step 2).\n3. **Next steps based on Step 3 results**:\n   - **Another slice uses the nodes now**: Proceed to Step 4.\n   - **No other slice uses the nodes now, but the metric (value `1`) showed an\n     associated `slice_id` around `{issue_time}`**: The conflict may already be\n     over. Proceed to Step 4, item 1 (to re-create or retry `{slice_name}`) and\n     then Step 4, item 4.\n   - **Neither the current `Slice` custom resources nor the metric around\n     `{issue_time}` shows another slice**: Node overlap isn't confirmed. Hand\n     off to `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring` or escalate\n     to Cloud Customer Care (Step 4, item 4).\n\n---\n\n### Step 4: Resolution `[High Risk]`\n\n> **Guardrails**:\n> - **Never** delete or change the other slice, or stop its workload, to free\n>   the nodes. Deleting a `Slice` custom resource starts dismantling that slice\n>   (`DEACTIVATING`, see\n>   [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)).\n>   The owner of that slice decides when to release it.\n> - **Never** manually modify or delete `Slice` custom resources created by\n>   Kueue. Per\n>   [Target your node pool to belong to a block or a sub-block](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n>   \"Avoid manually modifying Slice custom resources created by Kueue.\"\n> - **Never** change GKE-managed instance groups or VMs directly through Compute\n>   Engine, and never delete node pools to free a partition. Manage node pools\n>   and slices through GKE.\n\nFirst, check whether Kueue manages `{slice_name}` or the conflicting slice:\n\n- Per\n  [Monitor the status of the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n  when a slice is created or actively used by a workload, the slice controller\n  attaches the `kueue.gke.io\u002Ftpu-slice-used-by-namespace` and\n  `kueue.gke.io\u002Ftpu-slice-used-by-workload` labels.\n- Per\n  [Optimize workload scheduling with slice reuse](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n  and\n  [Enable Slice reuse](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n  when slice reuse is enabled, \"Kueue marks the slice as idle at the end of a\n  job instead of deleting it\", and \"Reusable slices are named dynamically with\n  an `s-\u003Ctopology>` prefix, decoupling them from specific workload names.\"\n\nThen apply the matching option:\n\n1. **Wait for the conflicting slice to release the nodes and retry**:\n   - **If Kueue manages the conflicting slice** (it has the `kueue.gke.io\u002F...`\n     labels or an `s-\u003Ctopology>` name prefix): Do not suggest deleting the\n     `Slice` custom resource directly. Point the workload owner to\n     [Clean up](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n     (deleting the `JobSet` triggers Kueue to delete the associated `Slice`\n     custom resources) and, if slice reuse keeps an idle `s-\u003Ctopology>` slice\n     allocated after a job ends, to\n     [Enforce slice deletion per workload](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n     (`kueue.gke.io\u002Ftpu-enforce-slice-deletion: \"true\"`).\n   - **If a custom scheduler or user created the conflicting slice directly**:\n     Its owner can delete it when finished, as described in\n     [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n   - **How `{slice_name}` retries**: Check whether `{slice_name}` already has\n     `slice.gke.io\u002Fretry-on-failure: \"true\"` in `Metadata` > `Annotations`. Per\n     [Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt),\n     when a `Slice` custom resource is created with this annotation, \"If the\n     slice isn't created because of the `SliceCreationFailed` status reason, the\n     controller will retry until the slice is successfully formed.\" Because the\n     documentation only shows configuring\n     `slice.gke.io\u002Fretry-on-failure: \"true\"` in the `Slice` manifest when\n     creating a `Slice` custom resource (and doesn't state that adding the\n     annotation to an existing slice already in `SliceCreationFailed` starts a\n     retry), if `{slice_name}` wasn't created by Kueue and lacks the annotation,\n     tell the user to delete `{slice_name}` following\n     [Delete the slice](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n     and re-create it with `slice.gke.io\u002Fretry-on-failure: \"true\"` in its\n     manifest following\n     [Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt).\n2. **Use available partitions whose nodes no other slice uses**: If the user\n   manages `Slice` custom resources directly (not through Kueue) and can't wait,\n   direct them to\n   [Verify the status of the nodes and the partitions](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n   and\n   [Create a Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt)\n   so they can pick available partitions (`HEALTHY` partitions, or `DEGRADED`\n   `4x4x4` partitions) whose nodes aren't used by any other slice (across all\n   partition shapes on those nodes) and create the `Slice` custom resource with\n   them.\n3. **Schedule dynamic slices with Kueue and TAS instead of creating `Slice`\n   custom resources directly**: Per\n   [Target your node pool to belong to a block or a sub-block](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt)\n   and\n   [Create a dynamic slice with Kueue and TAS](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fuse-gke-dynamic-slicing.md.txt),\n   instead of creating `Slice` custom resources directly, teams can schedule\n   GKE workloads with Kueue and Topology Aware Scheduling (TAS), where \"Kueue\n   automatically handles the creation and deletion of Slice custom resources\"\n   and admits a workload after its slice becomes active.\n4. **Verify or escalate**: Repeat Step 1 following\n   [Monitor the status of the Slice custom resource](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcreate-dynamic-slices.md.txt):\n   - **`ACTIVE`**: The slice is fully formed, healthy, and ready to execute\n     workloads.\n   - **`ACTIVE_DEGRADED`**: The slice is formed, and workloads can run, but\n     performance might be impacted.\n   - **Still `SliceCreationFailed` after no other slice uses the nodes, or\n     `FAILED`**: Hand off to\n     `gke-ai-troubleshooting-tpu-dynamic-slices-monitoring`, or advise the user\n     to contact Cloud Customer Care following\n     [Before you contact support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt)\n     and\n     [Recommendations for efficient support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt).\n",{"name":5,"metadata":56,"description":7},{"version":57,"category":58},"1.0.1","Containers","main","bb9b3f464aae37af360d079c1d863524955b0363","skills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-partition-overlap",2014,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:31:00",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add google\u002Fskills --skill gke-ai-troubleshooting-tpu-partition-overlap",{"tool":74,"command":75},"bunx","bunx skills add google\u002Fskills --skill gke-ai-troubleshooting-tpu-partition-overlap",{"tool":77,"command":78},"pnpm","pnpm dlx skills add google\u002Fskills --skill gke-ai-troubleshooting-tpu-partition-overlap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-partition-overlap\u002FSKILL.md",true,[82],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fattribution.md","REFERENCE","参考文档",1980,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-partition-overlap\u002Freferences\u002Fattribution.md",[89,97,104,111,118,125],{"skillNo":90,"name":91,"nameZh":17,"description":92,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"01M7DQ9K7JF4T7NJZ2K1MQZ44Q","cloud-operator-share-context","Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-share-context\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":98,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":96},"01M7DQ9ERFGGQCFAWQW0KRKYBY","cloud-operator-setup","Sets up the operator agent in a Google Cloud project via the autocloud MCP server: picks the operator project, creates or checks the user's operator agent, saves the project, and offers to share the user's existing Google Cloud operating context with the operator agent's memory. Use when the user runs this skill, asks to set up the operator or create their operator agent, or chooses setup when the cloud-operator skill asks. Don't use for ordinary GCP requests or installing gcloud.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-setup\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":96},"01M7B4RHQCM0DK2XQ7S7ZXVN8D","developer-device-platform-device-run","Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fdeveloper-device-platform-device-run\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":17,"description":114,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":96},"01M7B4R9YXMRW7RZP9Q9FMZJ2P","compute-vm-creation","Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcompute-vm-creation\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":17,"description":121,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":96},"01M7B4QD02N0YBVT0838Z5K5VC","agent-platform-autorater-customization","Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-autorater-customization\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":17,"description":128,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":96},"01M78JP22K73KK96JH0JNDT5C4","iap-agent-platform-troubleshooting","Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with \"Egress request is not authorized\", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fiap-agent-platform-troubleshooting\u002FSKILL.md",[],[]]