You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API-initiated eviction is the process by which you use the Eviction API to create an
20
19
Eviction object that triggers graceful pod termination.
21
20
aka:
22
21
tags:
23
22
- operation
24
-
---
25
23
-->
24
+
26
25
<!--
27
26
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)
28
27
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.
41
40
API-initiated evictions respect your configured [`PodDisruptionBudgets`](/docs/tasks/run-application/configure-pdb/)
42
41
and [`terminationGracePeriodSeconds`](/docs/concepts/workloads/pods/pod-lifecycle#pod-termination).
43
42
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/).
45
44
-->
46
45
你可以通过 kube-apiserver 的客户端,比如 `kubectl drain` 这样的命令,直接调用 Eviction API 发起驱逐。
47
-
当 `Eviction` 对象创建出来之后,该对象将驱动 API 服务器终止选定的Pod。
46
+
当 `Eviction` 对象创建出来之后,该对象将驱动 API 服务器终止选定的 Pod。
48
47
49
48
API 发起的驱逐取决于你配置的 [`PodDisruptionBudgets`](/zh-cn/docs/tasks/run-application/configure-pdb/)
0 commit comments