Skip to content

Commit 35231ab

Browse files
committed
[zh-cn] Sync api-eviction.md
1 parent 46aae33 commit 35231ab

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

content/zh-cn/docs/reference/glossary/api-eviction.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
title: API 发起的驱逐
33
id: api-eviction
44
date: 2021-04-27
5-
full_link: /zh-cn/docs/concepts/scheduling-eviction/pod-eviction/#api-eviction
5+
full_link: /zh-cn/docs/concepts/scheduling-eviction/api-eviction/
66
short_description: >
77
API 发起的驱逐是一个先调用 Eviction API 创建驱逐对象,再由该对象体面地中止 Pod 的过程。
88
aka:
99
tags:
1010
- operation
1111
---
12-
13-
<!-- ---
12+
<!--
1413
title: API-initiated eviction
1514
id: api-eviction
1615
date: 2021-04-27
17-
full_link: /docs/concepts/scheduling-eviction/pod-eviction/#api-eviction
16+
full_link: /docs/concepts/scheduling-eviction/api-eviction/
1817
short_description: >
1918
API-initiated eviction is the process by which you use the Eviction API to create an
2019
Eviction object that triggers graceful pod termination.
2120
aka:
2221
tags:
2322
- operation
24-
---
2523
-->
24+
2625
<!--
2726
API-initiated eviction is the process by which you use the [Eviction API](/docs/reference/generated/kubernetes-api/{{<param "version">}}/#create-eviction-pod-v1-core)
2827
to create an `Eviction` object that triggers graceful pod termination.
@@ -41,16 +40,16 @@ When an `Eviction` object is created, the API server terminates the Pod.
4140
API-initiated evictions respect your configured [`PodDisruptionBudgets`](/docs/tasks/run-application/configure-pdb/)
4241
and [`terminationGracePeriodSeconds`](/docs/concepts/workloads/pods/pod-lifecycle#pod-termination).
4342
44-
API-initiated eviction is not the same as [node-pressure eviction](/docs/concepts/scheduling-eviction/eviction/#kubelet-eviction).
43+
API-initiated eviction is not the same as [node-pressure eviction](/docs/concepts/scheduling-eviction/node-pressure-eviction/).
4544
-->
4645
你可以通过 kube-apiserver 的客户端,比如 `kubectl drain` 这样的命令,直接调用 Eviction API 发起驱逐。
47-
`Eviction` 对象创建出来之后,该对象将驱动 API 服务器终止选定的Pod
46+
`Eviction` 对象创建出来之后,该对象将驱动 API 服务器终止选定的 Pod
4847

4948
API 发起的驱逐取决于你配置的 [`PodDisruptionBudgets`](/zh-cn/docs/tasks/run-application/configure-pdb/)
5049
[`terminationGracePeriodSeconds`](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle#pod-termination)
5150

5251
API 发起的驱逐不同于
53-
[节点压力引发的驱逐](/zh-cn/docs/concepts/scheduling-eviction/eviction/#kubelet-eviction)
52+
[节点压力引发的驱逐](/zh-cn/docs/concepts/scheduling-eviction/node-pressure-eviction/)
5453

5554
<!--
5655
* See [API-initiated eviction](/docs/concepts/scheduling-eviction/api-eviction/) for more information.

0 commit comments

Comments
 (0)