TopologySelectorTerm
TopologySelectorTerm is a data structure used in Kubernetes to express a set of topology-based criteria for selecting scheduling domains, such as zones or regions. It participates in scheduling decisions that constrain where pods can be placed by evaluating topology labels on domains.
A TopologySelectorTerm contains one or more label selector requirements, held in a field typically called matchLabelExpressions.
In practice, TopologySelectorTerm is used within scheduling constructs to influence distribution across topology domains. It is
Example: a term that matches zones where the topology.kubernetes.io/zone label is In with values zone-a and zone-b
See also: NodeAffinity, NodeSelectorTerm, LabelSelectorRequirement, PodTopologySpread, TopologyKey.