clarification of a new shutdown status of a pod
This commit is contained in:
@@ -377,6 +377,21 @@ For example, if `ShutdownGracePeriod=30s`, and
|
|||||||
for gracefully terminating normal pods, and the last 10 seconds would be
|
for gracefully terminating normal pods, and the last 10 seconds would be
|
||||||
reserved for terminating [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical).
|
reserved for terminating [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical).
|
||||||
|
|
||||||
|
{{< note >}}
|
||||||
|
When pods were evicted during the graceful node shutdown, they are marked as failed.
|
||||||
|
Running `kubectl get pods` shows the status of the the evicted pods as `Shutdown`.
|
||||||
|
And `kubectl describe pod` indicates that the pod was evicted because of node shutdown:
|
||||||
|
|
||||||
|
```
|
||||||
|
Status: Failed
|
||||||
|
Reason: Shutdown
|
||||||
|
Message: Node is shutting, evicting pods
|
||||||
|
```
|
||||||
|
|
||||||
|
Failed pod objects will be preserved until explicitly deleted or [cleaned up by the GC](/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection).
|
||||||
|
This is a change of behavior compared to abrupt node termination.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
* Learn about the [components](/docs/concepts/overview/components/#node-components) that make up a node.
|
* Learn about the [components](/docs/concepts/overview/components/#node-components) that make up a node.
|
||||||
|
|||||||
Reference in New Issue
Block a user