Skip to content

Commit

Permalink
Merge pull request #43123 from RyanAoh/dev
Browse files Browse the repository at this point in the history
[zh] update the range of pod-deletion-cost
  • Loading branch information
k8s-ci-robot committed Sep 20, 2023
2 parents 3a80221 + 695b56f commit 375683b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -602,11 +602,11 @@ annotation, users can set a preference regarding which pods to remove first when
注解,用户可以对 ReplicaSet 缩容时要先删除哪些 Pod 设置偏好。

<!--
The annotation should be set on the pod, the range is [-2147483647, 2147483647]. It represents the cost of
The annotation should be set on the pod, the range is [-2147483648, 2147483647]. It represents the cost of
deleting a pod compared to other pods belonging to the same ReplicaSet. Pods with lower deletion
cost are preferred to be deleted before pods with higher deletion cost.
-->
此注解要设置到 Pod 上,取值范围为 [-2147483647, 2147483647]
此注解要设置到 Pod 上,取值范围为 [-2147483648, 2147483647]
所代表的是删除同一 ReplicaSet 中其他 Pod 相比较而言的开销。
删除开销较小的 Pod 比删除开销较高的 Pod 更容易被删除。

Expand Down

0 comments on commit 375683b

Please sign in to comment.