Skip to content

Commit 13598e8

Browse files
committed
[zh-cn]sync api-eviction.md
Signed-off-by: xin.li <[email protected]>
1 parent e231b2f commit 13598e8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

content/zh-cn/docs/concepts/scheduling-eviction/api-eviction.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ API 服务器总是返回 `200 OK` 并且允许驱逐。
148148
resource is marked for termination and starts to gracefully shut down the
149149
local Pod.
150150
1. While the kubelet is shutting the Pod down, the control plane removes the Pod
151-
from {{<glossary_tooltip term_id="endpoint" text="Endpoint">}} and
152-
{{<glossary_tooltip term_id="endpoint-slice" text="EndpointSlice">}}
151+
from {{<glossary_tooltip term_id="endpoint-slice" text="EndpointSlice">}}
153152
objects. As a result, controllers no longer consider the Pod as a valid object.
154153
1. After the grace period for the Pod expires, the kubelet forcefully terminates
155154
the local Pod.
@@ -160,8 +159,7 @@ API 服务器总是返回 `200 OK` 并且允许驱逐。
160159
`Pod` 资源还会标记上配置的宽限期。
161160
1. 本地运行状态的 Pod 所处的节点上的 {{<glossary_tooltip term_id="kubelet" text="kubelet">}}
162161
注意到 `Pod` 资源被标记为终止,并开始优雅停止本地 Pod。
163-
1. 当 kubelet 停止 Pod 时,控制面从 {{<glossary_tooltip term_id="endpoint" text="Endpoint">}}
164-
和 {{<glossary_tooltip term_id="endpoint-slice" text="EndpointSlice">}}
162+
1. 当 kubelet 停止 Pod 时,控制面从 {{<glossary_tooltip term_id="endpoint-slice" text="EndpointSlice">}}
165163
对象中移除该 Pod。因此,控制器不再将此 Pod 视为有用对象。
166164
1. Pod 的宽限期到期后,kubelet 强制终止本地 Pod。
167165
1. kubelet 告诉 API 服务器删除 `Pod` 资源。

0 commit comments

Comments
 (0)