You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/architecture/nodes.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -283,7 +283,7 @@ The node eviction behavior changes when a node in a given availability zone
283
283
becomes unhealthy. The node controller checks what percentage of nodes in the zone
284
284
are unhealthy (NodeReady condition is ConditionUnknown or ConditionFalse) at
285
285
the same time:
286
-
- If the fraction of unhealthy nodes is at least `--unhealthy-zone-threshold`
286
+
- If the fraction of unhealthy nodes is at least `--unhealthy-zone-threshold`
287
287
(default 0.55), then the eviction rate is reduced.
288
288
- If the cluster is small (i.e. has less than or equal to
289
289
`--large-cluster-size-threshold` nodes - default 50), then evictions are stopped.
@@ -377,6 +377,21 @@ For example, if `ShutdownGracePeriod=30s`, and
377
377
for gracefully terminating normal pods, and the last 10 seconds would be
378
378
reserved for terminating [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical).
379
379
380
+
{{< note >}}
381
+
When pods were evicted during the graceful node shutdown, they are marked as failed.
382
+
Running `kubectl get pods` shows the status of the the evicted pods as `Shutdown`.
383
+
And `kubectl describe pod` indicates that the pod was evicted because of node shutdown:
384
+
385
+
```
386
+
Status: Failed
387
+
Reason: Shutdown
388
+
Message: Node is shutting, evicting pods
389
+
```
390
+
391
+
Failed pod objects will be preserved until explicitly deleted or [cleaned up by the GC](/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection).
392
+
This is a change of behavior compared to abrupt node termination.
393
+
{{< /note >}}
394
+
380
395
## {{% heading "whatsnext" %}}
381
396
382
397
* Learn about the [components](/docs/concepts/overview/components/#node-components) that make up a node.
0 commit comments