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/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md
+122-9
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,8 @@ Value | Description
221
221
222
222
{{< note >}}
223
223
<!--
224
-
When a pod is failing to start repeatedly, `CrashLoopBackOff` may appear in the `Status` field of some kubectl commands. Similarly, when a pod is being deleted, `Terminating` may appear in the `Status` field of some kubectl commands.
224
+
When a pod is failing to start repeatedly, `CrashLoopBackOff` may appear in the `Status` field of some kubectl commands.
225
+
Similarly, when a pod is being deleted, `Terminating` may appear in the `Status` field of some kubectl commands.
225
226
226
227
Make sure not to confuse _Status_, a kubectl display field for user intuition, with the pod's `phase`.
227
228
Pod phase is an explicit part of the Kubernetes data model and of the
@@ -511,6 +512,32 @@ kubelet 就会重置该容器的重启延迟计时器。
511
512
[Sidecar 容器和 Pod 生命周期](/zh-cn/docs/concepts/workloads/pods/sidecar-containers/#sidecar-containers-and-pod-lifecycle)中解释了
: Indicates whether the container is ready to respond to requests.
924
-
If the readiness probe fails, the endpoints controller removes the Pod's IP
925
-
address from the endpoints of all Services that match the Pod. The default
964
+
If the readiness probe fails, the EndpointSlice controller removes the Pod's IP
965
+
address from the EndpointSlices of all Services that match the Pod. The default
926
966
state of readiness before the initial delay is `Failure`. If a container does
927
967
not provide a readiness probe, the default state is `Success`.
928
968
@@ -941,7 +981,7 @@ containers:
941
981
942
982
`readinessProbe`
943
983
: 指示容器是否准备好为请求提供服务。如果就绪态探测失败,
944
-
端点控制器将从与 Pod 匹配的所有服务的端点列表中删除该 Pod 的 IP 地址。
984
+
EndpointSlice 控制器将从与该 Pod 匹配的所有 Service 的 EndpointSlice 中删除该 Pod 的 IP 地址。
945
985
初始延迟之前的就绪态的状态值默认为 `Failure`。
946
986
如果容器不提供就绪态探针,则默认状态为 `Success`。
947
987
@@ -1094,7 +1134,13 @@ shutdown.
1094
1134
Pod。
1095
1135
1096
1136
<!--
1097
-
Typically, with this graceful termination of the pod, kubelet makes requests to the container runtime to attempt to stop the containers in the pod by first sending a TERM (aka. SIGTERM) signal, with a grace period timeout, to the main process in each container. The requests to stop the containers are processed by the container runtime asynchronously. There is no guarantee to the order of processing for these requests. Many container runtimes respect the `STOPSIGNAL` value defined in the container image and, if different, send the container image configured STOPSIGNAL instead of TERM.
1137
+
Typically, with this graceful termination of the pod, kubelet makes requests to the container runtime
1138
+
to attempt to stop the containers in the pod by first sending a TERM (aka. SIGTERM) signal,
1139
+
with a grace period timeout, to the main process in each container.
1140
+
The requests to stop the containers are processed by the container runtime asynchronously.
1141
+
There is no guarantee to the order of processing for these requests.
1142
+
Many container runtimes respect the `STOPSIGNAL` value defined in the container image and,
1143
+
if different, send the container image configured STOPSIGNAL instead of TERM.
1098
1144
Once the grace period has expired, the KILL signal is sent to any remaining
1099
1145
processes, and the Pod is then deleted from the
1100
1146
{{< glossary_tooltip text="API Server" term_id="kube-apiserver" >}}. If the kubelet or the
0 commit comments