Update content/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md

thank you.

Co-authored-by: Michael <haifeng.yao@daocloud.io>
pull/40126/head
WanJie 2023-03-19 20:01:13 +08:00 committed by GitHub
parent 2b72413ddb
commit 91fa0c621c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 12 deletions

View File

@ -912,18 +912,14 @@ An example flow:
和其他工作负载资源不再将关闭进程中的 Pod 视为合法的、能够提供服务的副本。
关闭动作很慢的 Pod 也无法继续处理请求数据,
因为负载均衡器(例如服务代理)已经在终止宽限期开始的时候将其从端点列表中移除。
<!--
{{<note>}}
If you don't have the `EndpointSliceTerminatingCondition` feature gate enabled
in your cluster (the gate is on by default from Kubernetes 1.22, and locked to default in 1.26), then the Kubernetes control
plane removes a Pod from any relevant EndpointSlices as soon as the Pod's
termination grace period _begins_. The behavior above is described when the
feature gate `EndpointSliceTerminatingCondition` is enabled.
{{</note>}}
-->
{{<note>}}
<!--
If you don't have the `EndpointSliceTerminatingCondition` feature gate enabled
in your cluster (the gate is on by default from Kubernetes 1.22, and locked to default in 1.26), then the Kubernetes control
plane removes a Pod from any relevant EndpointSlices as soon as the Pod's
termination grace period _begins_. The behavior above is described when the
feature gate `EndpointSliceTerminatingCondition` is enabled.
-->
{{<note>}}
如果你的集群中没有启用 EndpointSliceTerminatingCondition 功能门
(该门从 Kubernetes 1.22 开始默认开启在1.26中锁定为默认),那么一旦 Pod 的终止宽限期开始Kubernetes 控制平面就会从任何相关EndpointSlices 中移除 Pod。上述行为是在 EndpointSliceTerminatingCondition 功能门被启用时描述的。