gke-ai-troubleshooting-tpu-partition-overlap
하는 일
이 스킬은 AI 에이전트가 GKE에서 TPU 슬라이스가 SliceCreationFailed로 실패하는 이유를 알아내도록 돕습니다. 동적 슬라이스로 TPU 워크로드를 운영하는 팀을 위한 스킬입니다.
사용하는 경우
- ✓TPU 슬라이스 상태 이유가 파티션이나 노드 충돌을 가리키는 SliceCreationFailed로 나올 때.
- ✓다른 슬라이스나 JobSet이 같은 TPU 노드를 쓰고 있다고 의심될 때.
- ✓충돌을 탓하기 전에 슬라이스 실패의 다른 알려진 원인을 배제해야 할 때.
스킬 링크
https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-partition-overlap/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“GKE에서 새 TPU 슬라이스가 계속 SliceCreationFailed로 실패해요. 다른 슬라이스가 같은 노드를 쓰고 있는 걸까요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 실패를 확인하고, 다른 알려진 원인을 배제하며, 같은 노드를 쓰는 슬라이스를 찾은 뒤, GKE를 통한 해결 방법을 알려 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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:
- 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}: G
자주 묻는 질문
노드나 파티션 충돌과 상관없는 슬라이스 실패도 다루나요?
아니요. 노드나 파티션 충돌이 없는 슬라이스 실패에는 쓰지 말라고 합니다.
다른 슬라이스를 직접 바꾸나요?
스킬은 직접 변경하지 않고 GKE를 통해 해결책을 전달하므로, 사용자가 통제권을 유지합니다.
시작하기 전에 무엇이 필요한가요?
설정 단계에 나온 대로 Google Cloud SDK, kubectl, 클러스터 접근 권한이 필요합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 22k
- 순위
- #10270
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.