1.7 KiB
1.7 KiB
title: Taint(污点) id: taint date: 2019-01-11 full_link: /docs/concepts/configuration/taint-and-toleration/ short_description: > 一个核心对象,由三个必需的属性组成:键,值和效果。Taint(污点)会阻止在节点或节点组上调度 Pod。
aka: tags:
- core-object
- fundamental
一个核心对象,由三个必需的属性组成:键、值和效果。污点会阻止在{{< glossary_tooltip text="节点" term_id="node" >}}或节点组上调度 {{< glossary_tooltip text="Pods" term_id="pod" >}}。
污点和 {{< glossary_tooltip text="容忍度" term_id="toleration" >}} 一起工作,以确保不会将 Pod 调度到不适合的节点上。一个或多个污点应用于 {{< glossary_tooltip text="节点" term_id="node" >}}。节点应该仅能调度那些带着能与污点相匹配容忍度的 pod。