gke-node-notready
यह क्या करती है
यह स्किल AI एजेंट को यह समझने में मदद करती है कि Google Kubernetes Engine nodes ready की रिपोर्ट क्यों करना बंद कर देते हैं। यह उन operators के लिए है जिनके nodes NotReady में अटके हैं और जिनके workloads हटाए जा रहे हैं या pending में हैं।
कब इस्तेमाल करें
- ✓जब GKE nodes थोड़ी देर से ज़्यादा समय तक NotReady या Unknown स्थिति दिखाएँ।
- ✓जब कोई node अस्वस्थ होने के कारण pods हटाए जाएँ या pending में अटकें।
- ✓जब kubelet node status देना बंद कर दे और आपको कारण जानना हो।
Skill का लिंक
https://github.com/google/skills/blob/main/skills/cloud/gke-node-notready/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे दो GKE nodes NotReady दिखा रहे हैं और मेरे pods हटाए जा रहे हैं। क्या हो रहा है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट पहले उन अपेक्षित स्थितियों को खारिज करता है जैसे nodes का upgrade या repair हो रहा हो, फिर node conditions, events और logs पढ़ता है। वह cluster खुद बदलने के बजाय सुधार सुझाता है, ताकि आप उन्हें जाँचकर लागू करें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
GKE Node NotReady Troubleshooting Skill
Use this skill to systematically diagnose why one or more GKE nodes report a
NotReady (or Ready: Unknown) status and to propose safe remediations. A
NotReady status means the node's kubelet is not reporting to the control plane
correctly, so Kubernetes stops scheduling new Pods on the node, which can reduce
application capacity and cause downtime.
This skill operates non-interactively and enforces a read-only diagnostics
boundary: gather evidence first, then propose a fix (a kubectl/gcloud
command or a GitOps manifest change) for a human to apply. Never mutate the
cluster, drain, delete, or recreate nodes automatically.
[!IMPORTANT] First rule out an expected
NotReady: a node that is newly provisioning, upgrading, being repaired, cordoned, or scaling down will transiently reportNotReady. Only treat it as a fault if it persists beyond the expected window.
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-node-notready)"
and append agent-skills/1.0 (skill:gke-node-notready) to User-Agent headers.
🔍 Diagnostic Workflow
Step 0: Context discovery & time window
- Parameter extraction — obtain
project_id,cluster_name,cluster_location, andnode_namenon-interactively from the user prompt, activeSETTINGS.md, or environment defaults (kubectl config current-context,gcloud config get-value project). - Credentials & fallback — attempt
gcloud container clusters get-credentials {cluster_name} --location {cluster_location} --project {project_id}. If the cluster is unreachable or commands fail (sandbox/dry-run/offline), present the exact diagnostic commands for a human to run and continue the analysis from the reported symptoms. - Time window — determine
{issue_time}(explicit, relative, or now) and center a 1-hour window around it (start = issue_time - 30m,end = issue_time + 30m) for all log/metric queries.
Step 1: Identify NotReady nodes and gather initial status
# List nodes and spot NotReady status, node IPs, and container-runtime version.
kubectl get nodes -o wide
# Inspect the affected node's Conditions and Events (the primary clues).
kubectl describe node "{node_name}"
Equivalent via Cloud Logging (preferred when kubectl access is limited or for
historical events). Open it as a Logs Explorer deep link — URL-encode the
query and append the project and Step 0 time window:
https://console.cloud.google.com/logs/query;query={URL_ENCODED_QUERY};timeRange={start}%2F{end}?project={project_id}
(encode / as %2F, or use ;duration=PT1H for a rolling hour):
resource.type="k8s_node"
log_id("events")
resource.labels.node_name="{node_name}"
resource.labels.cluster_name="{cluster_name}"
resource.labels.location="{cluster_location}"
Interpret the Conditions table:
Ready: False/Ready: Unknownwith reasonKubeletNotReady/NodeStatusUnknown("Kubelet stopped posting node status") → kubelet or runtime problem; continue to Step 2.MemoryPressure: True,DiskPressure: True,PIDPressure: True→ resource exhaustion; go to Step 4b.NetworkUnavailable: True→ networking/CNI problem; go to Step 4d.
Step 2: Scan kubelet logs for error signatures
Open these kubelet logs as a Logs Explorer deep link using the same
logs/query;query={URL_ENCODED_QUERY};timeRange=...?project=... pattern as Step 1.
resource.type="k8s_node"
resource.labels.node_name="{node_name}"
resource.labels.cluster_name="{cluster_name}"
resource.labels.location="{cluster_location}"
log_id("kubelet")
severity>=WARNING
Also review the node's serial-console logs (log_id("serialconsole.googleapis.com/serial_port_1_output")
or the resource.type="gce_instance" serial logs) for kernel TaskHung,
OOM-killer, or disk I/O errors that correlate with the kubelet failures.
Step 3: Map the si
अक्सर पूछे जाने वाले सवाल
क्या यह nodes अपने-आप ठीक करती है?
नहीं। यह केवल पढ़ने वाली है और ऐसे commands सुझाती है जिन्हें कोई व्यक्ति जाँचकर लागू करे।
क्या NotReady node हमेशा कोई खराबी होती है?
नहीं। nodes के बनने, upgrade, repair या cordon होने पर वे थोड़ी देर के लिए NotReady दिख सकते हैं।
क्या यह app-level pod errors संभालती है?
नहीं। pod-level application विफलताएँ workload troubleshooting skill कवर करती है।
जानकारी
लेखक का मूल विवरण
Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't use for pod-level application failures (use gke-workload-troubleshooting), autoscaler scale-up/scale-down decisions (use gke-cluster-autoscaler), or non-GKE compute.
repo: google/skills
लोकप्रियता
- GitHub स्टार
- 22k
- रैंकिंग में स्थान
- #10292
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
finding-google-skills
22kआपके एजेंट को किसी सेटअप काम के लिए सही Google गाइड खोजने में मदद करती है, जैसे hosting, databases, storage, sign-in या AI model serving।
gcloud
22kयह आपके एजेंट को Google Cloud gcloud कमांड लिखने और जाँचने में मदद करती है, कुछ भी चलाने से पहले सटीक सिंटैक्स देखकर, ताकि फ़्लैग का अंदाज़ा न लगे।
google-cloud-recipe-auth
22kआपके एजेंट को Google Cloud की पहचान और पहुँच समझाती है, जिसमें यह शामिल है कि लोग और सेवाएँ कैसे साइन इन करते हैं और उन्हें कौन सी अनुमतियाँ मिलती हैं।
google-cloud-recipe-onboarding
22kएक नए डेवलपर को Google Cloud पर पहले कदमों में मदद करती है, जिसमें प्रोजेक्ट चुनना, बिलिंग जोड़ना और पहला संसाधन डिप्लॉय करना शामिल है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।