File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
content/zh/docs/reference/glossary Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,21 @@ You can request eviction either by directly calling the Eviction API
38
38
using a client of the kube-apiserver, like the `kubectl drain` command.
39
39
When an `Eviction` object is created, the API server terminates the Pod.
40
40
41
+ API-initiated evictions respect your configured [`PodDisruptionBudgets`](/docs/tasks/run-application/configure-pdb/)
42
+ and [`terminationGracePeriodSeconds`](/docs/concepts/workloads/pods/pod-lifecycle#pod-termination).
43
+
41
44
API-initiated eviction is not the same as [node-pressure eviction](/docs/concepts/scheduling-eviction/eviction/#kubelet-eviction).
42
45
-->
43
46
你可以通过 kube-apiserver 的客户端,比如 ` kubectl drain ` 这样的命令,直接调用 Eviction API 发起驱逐。
44
47
当 ` Eviction ` 对象创建出来之后,该对象将驱动 API 服务器终止选定的Pod。
45
48
49
+ API 发起的驱逐取决于你配置的 [ ` PodDisruptionBudgets ` ] ( /zh/docs/tasks/run-application/configure-pdb/ )
50
+ 和 [ ` terminationGracePeriodSeconds ` ] ( /zh/docs/concepts/workloads/pods/pod-lifecycle#pod-termination ) 。
51
+
46
52
API 发起的驱逐不同于
47
53
[ 节点压力引发的驱逐] ( /zh/docs/concepts/scheduling-eviction/eviction/#kubelet-eviction ) 。
54
+
55
+ <!--
56
+ * See [API-initiated eviction](/docs/concepts/scheduling-eviction/api-eviction/) for more information.
57
+ -->
58
+ * 有关详细信息,请参阅 [ API 发起的驱逐] ( /zh/docs/concepts/scheduling-eviction/api-eviction/ ) 。
You can’t perform that action at this time.
0 commit comments