⎈ k8s knowledge compiler

PreferredSchedulingTerm [api_object]ai-synthesized · conf 0.82

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

core

A PreferredSchedulingTerm is an object that specifies a node or a pod affinity/anti-affinity term.

Why it matters It allows for more flexible and fine-grained control over pod placement in the cluster.

Key facts - The term can be either a node selector or a pod selector - It can have multiple terms, which are combined using logical operators

Common pitfalls - Incorrectly configured terms may lead to pods not being scheduled as intended

Related Node selectors, Pod selectors

Sources

swagger.jsonio.k8s.api.core.v1.PreferredSchedulingTerm

Related (2)

related_to NodeSelectorTermreferences type conf=1
related_to NodeAffinityreferences type conf=1

← all API Explorer