Node Affinity - CI/CD用語集の定義
node affinityは、一致するlabelを持つnodeへpodを、厳格なルールまたは優先として誘導します。
node affinityは、指定したlabelに一致するnodeへpodを引き寄せるschedulingのルールで、厳格な要件としても、緩やかな優先としても機能します。
node affinityは、GPUのnodeや特定のゾーンなど、適切なハードウェアへワークロードを配置します。rolloutがどこに着地するかを形づくります。
必須 vs 優先
必須のルールは一致するnodeが存在しない限りschedulingをブロックします。優先のルールは配置を偏らせるだけなので、過度に厳格なaffinityはpodをPendingのままにすることがあります。
関連ガイド
Taint and Toleration - CI/CD Glossary DefinitionTaint and Toleration: A taint repels pods from a node unless the pod carries a matching toleration, letting y…
Pod Scheduling - CI/CD Glossary DefinitionPod Scheduling: Pod scheduling is the process by which the Kubernetes scheduler selects a node for a new pod…
Node Pool - CI/CD Glossary DefinitionNode Pool: A node pool is a group of nodes within a cluster that share the same configuration (machine type,…