From 1ba265069da7984faeadded92a188c1137456d2f Mon Sep 17 00:00:00 2001 From: haelyra <49814733+haelyra@users.noreply.github.com> Date: Thu, 5 Nov 2026 23:44:17 -0500 Subject: [PATCH] docs: require Pod identity evidence before diagnosing churn --- pi/core/skills/kubernetes-patterns/SKILL.md | 2 +- skills/kubernetes-patterns/SKILL.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pi/core/skills/kubernetes-patterns/SKILL.md b/pi/core/skills/kubernetes-patterns/SKILL.md index d026229a1..63c369419 100644 --- a/pi/core/skills/kubernetes-patterns/SKILL.md +++ b/pi/core/skills/kubernetes-patterns/SKILL.md @@ -653,7 +653,7 @@ kubectl describe pod -n my-namespace | grep -A5 "Last State" ### Pods Replaced With Zero Restarts (Churn) -A young pod with `RESTARTS 0` was not restarted: it was deleted and recreated. `kubectl get events` often shows nothing, because events expire after one hour by default and a descheduler without RBAC on `events.k8s.io` emits none. Node-pressure evictions by the kubelet are different: they skip the Eviction API and leave the old pod listed as `Evicted`. +A young pod with `RESTARTS 0` may be a new replica or a replacement. Compare its Pod UID and `creationTimestamp` with a prior observation; a changed UID confirms replacement, while the restart count alone does not prove deletion. `kubectl get events` often shows nothing, because events expire after one hour by default and a descheduler without RBAC on `events.k8s.io` emits none. Node-pressure evictions by the kubelet are different: they skip the Eviction API and leave the old pod listed as `Evicted`. | Signal | Likely cause | Confirm with | |--------|--------------|--------------| diff --git a/skills/kubernetes-patterns/SKILL.md b/skills/kubernetes-patterns/SKILL.md index d026229a1..63c369419 100644 --- a/skills/kubernetes-patterns/SKILL.md +++ b/skills/kubernetes-patterns/SKILL.md @@ -653,7 +653,7 @@ kubectl describe pod -n my-namespace | grep -A5 "Last State" ### Pods Replaced With Zero Restarts (Churn) -A young pod with `RESTARTS 0` was not restarted: it was deleted and recreated. `kubectl get events` often shows nothing, because events expire after one hour by default and a descheduler without RBAC on `events.k8s.io` emits none. Node-pressure evictions by the kubelet are different: they skip the Eviction API and leave the old pod listed as `Evicted`. +A young pod with `RESTARTS 0` may be a new replica or a replacement. Compare its Pod UID and `creationTimestamp` with a prior observation; a changed UID confirms replacement, while the restart count alone does not prove deletion. `kubectl get events` often shows nothing, because events expire after one hour by default and a descheduler without RBAC on `events.k8s.io` emits none. Node-pressure evictions by the kubelet are different: they skip the Eviction API and leave the old pod listed as `Evicted`. | Signal | Likely cause | Confirm with | |--------|--------------|--------------|