本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)22k · #10273

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

できること

バックエンドのCompute Engineインスタンスグループが安定していないときに、TPUスライスやJobSetが止まる理由を、AIエージェントが調べる手助けをします。GKEでTPUスライスを動かすエンジニア向けです。

使う場面

  • ✓不安定なインスタンスグループが原因かもしれず、SliceCreationFailedでTPUスライスの作成が失敗するとき。
  • ✓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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-slice-mig-stuck-updating/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のTPU JobSetが1時間保留のままで、インスタンスグループが安定していないと表示されています。何を確認すべきですか?”

毎週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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル