Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)22k · #10266

gke-ai-troubleshooting-node-unresponsive-timeout

Skill này làm gì

Skill này giúp khôi phục các node TPU hoặc GPU trên GKE đã ngừng phản hồi. Skill dành cho các đội nền tảng mà khối lượng công việc bị kẹt vì một node bị im lặng.

Khi nào nên dùng

  • ✓Khi một node TPU hoặc GPU của GKE hiển thị NotReady hoặc NodeStatusUnknown trong thời gian dài.
  • ✓Khi các pod trên một node không phản hồi bị kẹt ở Terminating và chặn một JobSet.
  • ✓Khi tự sửa chữa node bị tắt và nguyên nhân có vẻ là kernel panic của máy chủ hoặc treo phần cứng.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-node-unresponsive-timeout/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Một node TPU GKE của tôi đã NotReady suốt một giờ và các pod của nó không kết thúc được. Làm sao để khôi phục nó?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill kiểm tra điều kiện Ready của node, cài đặt tự sửa chữa của node pool và trạng thái của máy chủ, rồi hướng dẫn bạn các bước giảm thiểu vấn đề. Skill dùng gcloud và kubectl cho các kiểm tra.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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}
Câu hỏi thường gặp

NodeStatusUnknown nghĩa là gì?

Kubelet đã ngừng gửi cập nhật trạng thái, nên node không thể báo rằng nó khỏe.

Skill có bao gồm node khỏe mạnh không?

Không. Skill dành cho node không phản hồi, không dành cho node khỏe mạnh hay các lần nâng cấp định kỳ.

Cần công cụ gì?

Google Cloud SDK và kubectl.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10266
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự