Affinity - CI/CD用語集の定義
affinity ルールは、pod がどこで実行されることを望む、または必要とするかを Kubernetes scheduler に伝えます。node affinity はノードのラベルを対象とし、pod affinity と anti-affinity は、例えばレプリカをゾーンに分散させるように、他の pod の近くまたは遠くに pod を配置します。
CIでは
anti-affinity は runner pod を別々のノードに配置するため、単一のノード障害でビルド容量全体が一度に失われることを防ぎます。
関連ガイド
Taint and Toleration - CI/CD Glossary DefinitionTaint and Toleration: A taint marks a node to repel pods that do not tolerate it; a toleration on a pod lets…
Scheduler (Kubernetes) - CI/CD Glossary DefinitionScheduler (Kubernetes): The scheduler is the control-plane component that assigns newly created pods to nodes…
StatefulSet - CI/CD Glossary DefinitionStatefulSet: A StatefulSet manages pods with stable identities and ordered, graceful deployment and scaling,…