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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-node-unresponsive-timeout/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أظهرت إحدى عقد GKE من نوع TPU عندي حالة NotReady منذ ساعة، والحاويات فيها لا تنتهي. كيف أستعيدها؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تفحص شرط 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة