From 87edc6a9f8cb69d3550a1c67a46d9f359abe5de8 Mon Sep 17 00:00:00 2001 From: "wei.wang" Date: Sun, 24 Apr 2022 23:09:57 +0800 Subject: [PATCH] [zh]Update content/zh/docs/reference/glossary/api-eviction.md --- content/zh/docs/reference/glossary/api-eviction.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/zh/docs/reference/glossary/api-eviction.md b/content/zh/docs/reference/glossary/api-eviction.md index fc5c87c33f..0f1aabd435 100644 --- a/content/zh/docs/reference/glossary/api-eviction.md +++ b/content/zh/docs/reference/glossary/api-eviction.md @@ -38,10 +38,21 @@ You can request eviction either by directly calling the Eviction API using a client of the kube-apiserver, like the `kubectl drain` command. When an `Eviction` object is created, the API server terminates the Pod. +API-initiated evictions respect your configured [`PodDisruptionBudgets`](/docs/tasks/run-application/configure-pdb/) +and [`terminationGracePeriodSeconds`](/docs/concepts/workloads/pods/pod-lifecycle#pod-termination). + API-initiated eviction is not the same as [node-pressure eviction](/docs/concepts/scheduling-eviction/eviction/#kubelet-eviction). --> 你可以通过 kube-apiserver 的客户端,比如 `kubectl drain` 这样的命令,直接调用 Eviction API 发起驱逐。 当 `Eviction` 对象创建出来之后,该对象将驱动 API 服务器终止选定的Pod。 +API 发起的驱逐取决于你配置的 [`PodDisruptionBudgets`](/zh/docs/tasks/run-application/configure-pdb/) +和 [`terminationGracePeriodSeconds`](/zh/docs/concepts/workloads/pods/pod-lifecycle#pod-termination)。 + API 发起的驱逐不同于 [节点压力引发的驱逐](/zh/docs/concepts/scheduling-eviction/eviction/#kubelet-eviction)。 + + +* 有关详细信息,请参阅 [API 发起的驱逐](/zh/docs/concepts/scheduling-eviction/api-eviction/)。 \ No newline at end of file