Files
2026-05-31 16:07:30 +02:00

21 lines
505 B
Markdown

What this controller does (precisely)
Continuously:
1. Watches Nodes
2. If a Node is NotReady longer than a configurable timeout
3. Finds Pods on that node
4. Deletes only Pods that:
• are owned by Deployments or StatefulSets
• are NOT DaemonSets
5. Lets Kubernetes reschedule them on healthy nodes
It does not:
• Drain nodes
• Touch DaemonSets
• Touch mirror/static pods
• Interfere with kube-system (unless you allow it)
NOT_READY_GRACE_SECONDS=600 # default: 10 minutes