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

gke-ai-troubleshooting-node-unresponsive-timeout

できること

応答しなくなったGKEのTPUまたはGPUのノードを回復する手伝いをします。ノードが応答しなくなったためにワークロードが止まっているプラットフォームチーム向けです。

使う場面

  • ✓GKEのTPUまたはGPUのノードが、長い間NotReadyまたはNodeStatusUnknownを示しているとき。
  • ✓応答しないノードのポッドがTerminatingのまま止まり、JobSetを妨げているとき。
  • ✓ノードの自動修復が無効で、ホストのカーネルパニックやハードウェアのロックアップが原因らしいとき。

スキルのリンク

https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-node-unresponsive-timeout/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

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

AIへの頼み方の例

“私のGKEのTPUノードの1つが1時間NotReadyのままで、そのポッドが終了しません。どうやって回復すればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ノードのReady状態、ノードプールの自動修復の設定、ホストの状態を確認し、問題を軽減する手順を案内します。確認にはgcloudとkubectlを使います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Troubleshoot unresponsive GKE TPU and GPU nodes (NodeStatusUnknown)

When the Compute Engine host of a TPU or GPU node has a fatal hardware error, kernel panic, or non-maskable interrupt (NMI) lockup, the guest OS stops responding. The kubelet can no longer send heartbeats, so the node Ready condition becomes Unknown with Reason: NodeStatusUnknown (Kubelet stopped posting node status.). If node auto-repair is disabled on the node pool, GKE doesn't repair the node. The node can stay NotReady, and pods on it can stay in Terminating, which blocks multi-host JobSet workloads from recovering.

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-node-unresponsive-timeout)" and append agent-skills/1.0 (skill:gke-ai-troubleshooting-node-unresponsive-timeout) to User-Agent headers.

Prerequisites

  • Tools: Install the Google Cloud SDK (gcloud) and kubectl.
  • Cloud Billing & Project Configuration: Verify an active billing account is linked (gcloud billing projects describe {project_id}), authenticate (gcloud auth login), set the target project (gcloud config set project {project_id}), and ensure container.googleapis.com, compute.googleapis.com, logging.googleapis.com, and monitoring.googleapis.com are enabled.
  • Required IAM Roles:
    • Kubernetes Engine Viewer (roles/container.viewer)
    • Compute Viewer (roles/compute.viewer)
    • Logs Viewer (roles/logging.viewer)
    • Monitoring Viewer (roles/monitoring.viewer)
    • For remediation ([High Risk] steps): Kubernetes Engine Cluster Admin (roles/container.clusterAdmin)
  • Documentation:

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 and set the investigation window [Low Risk]

Collect the target parameters. By default, query a 60-minute window `[T - 30m, T

  • 30m]around{issue_time}`:
  • {project_id}: Google Cloud project ID
  • {cluster_name}: GKE cluster name
  • {location}: Cluster region or zone
  • {nodepool_name}: Target TPU or GPU node pool name
  • {node_name}: Unresponsive GKE node name (and its Compute Engine {zone})
  • {issue_time}: Incident timestamp in RFC3339 UTC
  • {start_time}: {issue_time} - 30m
  • {end_time}
よくある質問

NodeStatusUnknownとは何ですか?

kubeletがステータスの更新を送らなくなったため、ノードが正常だと報告できない状態です。

正常なノードにも使えますか?

いいえ。応答しないノード用で、正常なノードや通常のアップグレードは対象外です。

必要なツールは何ですか?

Google Cloud SDKとkubectlです。

詳細

作者による元の説明

Diagnose and mitigate GKE TPU or GPU nodes stuck in NotReady / NodeStatusUnknown ("Kubelet stopped posting node status") due to host kernel panics, hardware lockups, or disabled node auto-repair. Use when nodes stop heartbeating beyond the node auto-repair threshold and pods remain stuck in Terminating. Don't use for healthy nodes, pod-only application crashes, or routine GKE upgrades.

repo: google/skills

人気

GitHubのスター
22k
ランキング
#10266
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

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

コメント

  • …

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

似ているスキル