본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)22k · #10273

gke-ai-troubleshooting-tpu-slice-mig-stuck-updating

하는 일

이 스킬은 뒷받침하는 Compute Engine 인스턴스 그룹이 안정적이지 않을 때 TPU 슬라이스와 JobSet이 멈추는 이유를 AI 에이전트가 알아내도록 돕습니다. GKE에서 TPU 슬라이스를 운영하는 엔지니어를 위한 스킬입니다.

사용하는 경우

  • ✓TPU 슬라이스 생성이 SliceCreationFailed로 실패하고 불안정한 인스턴스 그룹이 원인일 수 있을 때.
  • ✓JobSet이 대기 상태로 남아 있고 인스턴스 그룹에 isStable false가 나올 때.
  • ✓인스턴스 그룹이 아직 목표 버전에 도달하지 못했을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 TPU JobSet이 한 시간째 대기 중이고 인스턴스 그룹이 안정적이지 않다고 나와요. 무엇을 확인해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 슬라이스 상태를 확인하고, 뒷받침하는 인스턴스 그룹이 안정적인지, 목표 버전에 도달했는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Troubleshoot GKE TPU slice creation blocked by an unstable MIG

This skill helps diagnose GKE TPU Dynamic Slice creation failures and JobSet scheduling delays when the Compute Engine managed instance groups (MIGs) that back the TPU node pool aren't stable (status.isStable: false).

A SliceCreationFailed status reason means that slice creation failed because prerequisites weren't met (for example, required Compute Engine resources are missing) or preflight checks failed (see Use dynamic slicing with a custom scheduler). A MIG that is still creating, updating, or repairing instances is one cause to check. This skill checks the slice status first, then the stability of the backing MIGs.

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

Prerequisites

  • Google Cloud SDK & Tools:
    • For installing and initializing gcloud (project selection and authentication) and enabling the GKE API, follow Before you begin.
    • For installing kubectl and configuring cluster credentials, follow the "Install kubectl", "Install required plugins", and "Store cluster information for kubectl" sections of Install kubectl and configure cluster access.
  • API Enablement & Billing:
    • Verify that the project has an active Cloud Billing account.
    • Enable APIs: container.googleapis.com, compute.googleapis.com, and logging.googleapis.com.
  • Required IAM Roles:
    • Logs Viewer (roles/logging.viewer): Inspect Cloud Audit Logs for MIG errors.
    • Compute Viewer (roles/compute.viewer): Check MIG stability (isStable) and instance progress.
    • Kubernetes Engine Viewer (roles/container.viewer): Inspect Slice custom resources (slices.accelerator.gke.io), nodes, and cluster operations.
  • Documentation:
자주 묻는 질문

isStable false는 무슨 뜻인가요?

인스턴스 그룹이 아직 인스턴스를 만들거나, 업데이트하거나, 복구하는 중이라 아직 안정적이지 않다는 뜻입니다.

무엇을 먼저 확인하나요?

스킬은 슬라이스 상태를 먼저 확인한 다음, 그 슬라이스 뒤에 있는 인스턴스 그룹을 확인합니다.

프로젝트에 접근해야 하나요?

네. gcloud와 GKE 도구를 사용하므로 프로젝트와 클러스터 접근 권한이 필요합니다.

상세 정보

작성자의 원본 설명

Diagnose and resolve GKE TPU Dynamic Slice creation and JobSet scheduling failures blocked by underlying Compute Engine managed instance groups (MIGs) stuck in an updating or unstable state (isStable=False). Use when TPU slice creation fails with a SliceCreationFailed status reason, when JobSets remain stuck in pending, or when MIG status reflects isStable=False or versionTarget.isReached=False during TPU slice formation. Don't use for SliceCreationFailed causes unrelated to MIG stability (use gke-ai-troubleshooting-tpu-dynamic-slices-monitoring) or general pod scheduling failures unrelated to

repo: google/skills

인기도

GitHub 스타
22k
순위
#10273
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬