File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
content/zh-cn/docs/concepts/scheduling-eviction Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,7 @@ API 服务器总是返回 `200 OK` 并且允许驱逐。
148
148
resource is marked for termination and starts to gracefully shut down the
149
149
local Pod.
150
150
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">}}
153
152
objects. As a result, controllers no longer consider the Pod as a valid object.
154
153
1. After the grace period for the Pod expires, the kubelet forcefully terminates
155
154
the local Pod.
@@ -160,8 +159,7 @@ API 服务器总是返回 `200 OK` 并且允许驱逐。
160
159
此 ` Pod ` 资源还会标记上配置的宽限期。
161
160
1 . 本地运行状态的 Pod 所处的节点上的 {{<glossary_tooltip term_id="kubelet" text="kubelet">}}
162
161
注意到 ` 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">}}
165
163
对象中移除该 Pod。因此,控制器不再将此 Pod 视为有用对象。
166
164
1 . Pod 的宽限期到期后,kubelet 强制终止本地 Pod。
167
165
1 . kubelet 告诉 API 服务器删除 ` Pod ` 资源。
You can’t perform that action at this time.
0 commit comments