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
A Node is considered for preemption only when the answer to this question is
412
416
yes: "If all the Pods with lower priority than the pending Pod are removed from
413
417
the Node, can the pending Pod be scheduled on the Node?"
418
+
-->
419
+
#### 与低优先级 Pod 之间的 Pod 间亲和性
420
+
421
+
只有当这个问题的答案是肯定的时,才考虑在一个节点上执行抢占操作:
422
+
“如果从此节点上删除优先级低于悬决 Pod 的所有 Pod,悬决 Pod 是否可以在该节点上调度?”
414
423
415
424
{{< note >}}
425
+
<!--
416
426
Preemption does not necessarily remove all lower-priority
417
427
Pods. If the pending Pod can be scheduled by removing fewer than all
418
428
lower-priority Pods, then only a portion of the lower-priority Pods are removed.
419
429
Even so, the answer to the preceding question must be yes. If the answer is no,
420
430
the Node is not considered for preemption.
421
-
{{< /note >}}
422
431
-->
423
-
#### 与低优先级 Pod 之间的 Pod 间亲和性
424
-
425
-
只有当这个问题的答案是肯定的时,才考虑在一个节点上执行抢占操作:
426
-
“如果从此节点上删除优先级低于悬决 Pod 的所有 Pod,悬决 Pod 是否可以在该节点上调度?”
427
-
428
-
{{< note >}}
429
432
抢占并不一定会删除所有较低优先级的 Pod。
430
433
如果悬决 Pod 可以通过删除少于所有较低优先级的 Pod 来调度,
431
434
那么只有一部分较低优先级的 Pod 会被删除。
@@ -500,7 +503,7 @@ enough demand and if we find an algorithm with reasonable performance.
500
503
Pod priority and pre-emption can have unwanted side effects. Here are some
501
504
examples of potential problems and ways to deal with them.
502
505
-->
503
-
## 故障排除
506
+
## 故障排除 {#troubleshooting}
504
507
505
508
Pod 优先级和抢占可能会产生不必要的副作用。以下是一些潜在问题的示例以及处理这些问题的方法。
506
509
@@ -630,7 +633,7 @@ to get evicted. The kubelet ranks pods for eviction based on the following facto
630
633
1. Pod Priority
631
634
1. Amount of resource usage relative to requests
632
635
633
-
See [evicting end-user pods](/docs/concepts/scheduling-eviction/node-pressure-eviction/#pod-selection-for-kubelet-eviction)
636
+
See [Pod selection for kubelet eviction](/docs/concepts/scheduling-eviction/node-pressure-eviction/#pod-selection-for-kubelet-eviction)
634
637
for more details.
635
638
636
639
kubelet node-pressure eviction does not evict Pods when their
@@ -656,8 +659,7 @@ kubelet 使用优先级来确定
656
659
## {{% heading "whatsnext" %}}
657
660
658
661
<!--
659
-
* Read about using ResourceQuotas in connection with PriorityClasses:
660
-
[limit Priority Class consumption by default](/docs/concepts/policy/resource-quotas/#limit-priority-class-consumption-by-default)
662
+
* Read about using ResourceQuotas in connection with PriorityClasses: [limit Priority Class consumption by default](/docs/concepts/policy/resource-quotas/#limit-priority-class-consumption-by-default)
661
663
* Learn about [Pod Disruption](/docs/concepts/workloads/pods/disruptions/)
662
664
* Learn about [API-initiated Eviction](/docs/concepts/scheduling-eviction/api-eviction/)
663
665
* Learn about [Node-pressure Eviction](/docs/concepts/scheduling-eviction/node-pressure-eviction/)
0 commit comments