Node Selector - CI/CD Glossary Definition
A node selector limits a job to runners that carry matching labels.
A node selector is a set of key/value labels that constrains where a job can run, matching it only to runners (or nodes) that carry every required label.
A node selector is the simplest scheduling constraint: it filters candidate runners to those whose labels match, before any affinity or bin-packing decision is made.
In CI
GitHub Actions runs-on labels behave like a node selector: runs-on: [self-hosted, linux, arm64] restricts the job to runners with all three labels.
Related guides
Affinity - CI/CD Glossary DefinitionAffinity: Affinity is a scheduling rule that attracts a job to specific runners, for example placing a job ne…
Anti-Affinity - CI/CD Glossary DefinitionAnti-Affinity: Anti-affinity is a scheduling rule that keeps jobs apart, for example spreading replicas of a…
Runner Pool - CI/CD Glossary DefinitionRunner Pool: A runner pool is a group of interchangeable runners that share a job queue. Jobs are dispatched…