@@ -13,7 +13,8 @@ of its primary containers starts OK, and then through either the `Succeeded` or
13
13
14
14
Whilst a Pod is running, the kubelet is able to restart containers to handle some
15
15
kind of faults. Within a Pod, Kubernetes tracks different container
16
- [ states] ( #container-states ) and handles
16
+ [ states] ( #container-states ) and determines what action to take to make the Pod
17
+ healthy again.
17
18
18
19
In the Kubernetes API, Pods have both a specification and an actual status. The
19
20
status for a Pod object consists of a set of [ Pod conditions] ( #pod-conditions ) .
@@ -32,7 +33,7 @@ Like individual application containers, Pods are considered to be relatively
32
33
ephemeral (rather than durable) entities. Pods are created, assigned a unique
33
34
ID ([ UID] ( /docs/concepts/overview/working-with-objects/names/#uids ) ), and scheduled
34
35
to nodes where they remain until termination (according to restart policy) or
35
- deletion.
36
+ deletion.
36
37
If a {{< glossary_tooltip term_id="node" >}} dies, the Pods scheduled to that node
37
38
are [ scheduled for deletion] ( #pod-garbage-collection ) after a timeout period.
38
39
@@ -353,9 +354,9 @@ An example flow:
353
354
1 . You use the ` kubectl ` tool to manually delete a specific Pod, with the default grace period
354
355
(30 seconds).
355
356
1 . The Pod in the API server is updated with the time beyond which the Pod is considered "dead"
356
- along with the grace period.
357
+ along with the grace period.
357
358
If you use ` kubectl describe ` to check on the Pod you're deleting, that Pod shows up as
358
- "Terminating".
359
+ "Terminating".
359
360
On the node where the Pod is running: as soon as the kubelet sees that a Pod has been marked
360
361
as terminating (a graceful shutdown duration has been set), the kubelet begins the local Pod
361
362
shutdown process.
@@ -386,7 +387,7 @@ An example flow:
386
387
` SIGKILL ` to any processes still running in any container in the Pod.
387
388
The kubelet also cleans up a hidden ` pause ` container if that container runtime uses one.
388
389
1 . The kubelet triggers forcible removal of Pod object from the API server, by setting grace period
389
- to 0 (immediate deletion).
390
+ to 0 (immediate deletion).
390
391
1 . The API server deletes the Pod's API object, which is then no longer visible from any client.
391
392
392
393
### Forced Pod termination {#pod-termination-forced}
0 commit comments