File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
content/zh-cn/docs/tasks/administer-cluster Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,11 @@ configure a [PodDisruptionBudget](/docs/concepts/workloads/pods/disruptions/).
56
56
If availability is important for any applications that run or could run on the node(s)
57
57
that you are draining, [configure a PodDisruptionBudgets](/docs/tasks/run-application/configure-pdb/)
58
58
first and then continue following this guide.
59
+
60
+ It is recommended to set `AlwaysAllow` [Unhealthy Pod Eviction Policy](/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy)
61
+ to your PodDisruptionBudgets to support eviction of misbehaving applications during a node drain.
62
+ The default behavior is to wait for the application pods to become [healthy](/docs/tasks/run-application/configure-pdb/#healthiness-of-a-pod)
63
+ before the drain can proceed.
59
64
-->
60
65
## (可选)配置干扰预算 {#configure-poddisruptionbudget}
61
66
@@ -64,6 +69,12 @@ first and then continue following this guide.
64
69
如果可用性对于正在清空的该节点上运行或可能在该节点上运行的任何应用程序很重要,
65
70
首先 [ 配置一个 PodDisruptionBudgets] ( /zh-cn/docs/tasks/run-application/configure-pdb/ ) 并继续遵循本指南。
66
71
72
+ 建议为你的 PodDisruptionBudgets 设置 ` AlwaysAllow `
73
+ [ 不健康 Pod 驱逐策略] ( /zh-cn/docs/tasks/run-application/configure-pdb/#healthiness-of-a-pod ) ,
74
+ 以在节点清空期间支持驱逐异常的应用程序。
75
+ 默认行为是等待应用程序的 Pod 变为 [ 健康] ( /zh-cn/docs/tasks/run-application/configure-pdb/#healthiness-of-a-pod ) 后,
76
+ 才能进行清空操作。
77
+
67
78
<!--
68
79
## Use `kubectl drain` to remove a node from service
69
80
You can’t perform that action at this time.
0 commit comments