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
@@ -19,13 +20,13 @@ hard requirement). _Taints_ are the opposite -- they allow a node to repel a set
19
20
20
21
<!--
21
22
22
-
_Tolerations_ are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also [evaluates other parameters](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) as part of its function.
23
+
_Tolerations_ are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also [evaluates other parameters](/docs/concepts/scheduling-eviction/pod-priority-preemption/) as part of its function.
23
24
24
25
Taints and tolerations work together to ensure that pods are not scheduled
25
26
onto inappropriate nodes. One or more taints are applied to a node; this
26
27
marks that the node should not accept any pods that do not tolerate the taints.
27
28
-->
28
-
**容忍度(Toleration)** 是应用于 Pod 上的。容忍度允许调度器调度带有对应污点的节点。
29
+
**容忍度(Toleration)** 是应用于 Pod 上的。容忍度允许调度器调度带有对应污点的 Pod。
The `NoExecute` taint effect, which affects pods that are already
331
+
The `NoExecute` taint effect, mentioned above, affects pods that are already
330
332
running on the node as follows
331
333
332
334
* pods that do not tolerate the taint are evicted immediately
@@ -337,15 +339,15 @@ running on the node as follows
337
339
-->
338
340
前文提到过污点的效果值 `NoExecute` 会影响已经在节点上运行的 Pod,如下
339
341
340
-
* 如果 Pod 不能忍受这类污点,Pod 会马上被驱逐
342
+
* 如果 Pod 不能忍受这类污点,Pod 会马上被驱逐。
341
343
* 如果 Pod 能够忍受这类污点,但是在容忍度定义中没有指定 `tolerationSeconds`,
342
344
则 Pod 还会一直在这个节点上运行。
343
345
* 如果 Pod 能够忍受这类污点,而且指定了 `tolerationSeconds`,
344
346
则 Pod 还能在这个节点上继续运行这个指定的时间长度。
345
347
346
348
<!--
347
-
The node controller automatically taints a node when certain conditions are
348
-
true. The following taints are built in:
349
+
The node controller automatically taints a Node when certain conditions
350
+
are true. The following taints are built in:
349
351
350
352
* `node.kubernetes.io/not-ready`: Node is not ready. This corresponds to
351
353
the NodeCondition `Ready` being "`False`".
@@ -385,7 +387,7 @@ controller can remove the relevant taint(s).
385
387
386
388
{{< note >}}
387
389
<!--
388
-
The control plane limits the rate of adding new taints to nodes. This rate limiting
390
+
The control plane limits the rate of adding node new taints to nodes. This rate limiting
389
391
manages the number of evictions that are triggered when many nodes become unreachable at
390
392
once (for example: if there is a network disruption).
391
393
-->
@@ -457,7 +459,8 @@ This ensures that DaemonSet pods are never evicted due to these problems.
457
459
## Taint Nodes by Condition
458
460
459
461
The control plane, using the node {{<glossary_tooltip text="controller" term_id="controller">}},
460
-
automatically creates taints with a `NoSchedule` effect for [node conditions](/docs/concepts/scheduling-eviction/node-pressure-eviction/#node-conditions).
462
+
automatically creates taints with a `NoSchedule` effect for
0 commit comments