Skip to content
Docs Try Aspire

PreferredSchedulingTermV1 Properties

Class Properties 2 members
Represents a preferred scheduling term used in Kubernetes node affinity configuration. Defines a preference for scheduling pods onto nodes based on specific criteria with an associated weight.
Represents the preference for Kubernetes node scheduling policies.
public NodeSelectorTermV1 Preference { get; set; }
This property specifies a NodeSelectorTermV1 object, which defines node selection criteria for scheduling Kubernetes pods. The preference is used in conjunction with a weight to influence scheduling decisions.
Represents the weight assigned to a preferred scheduling condition.
public int Weight { get; set; }
Weight determines the priority of a specific preference in node affinity rules when scheduling workloads in Kubernetes. A higher weight increases the likelihood that this preference will influence the node selection process.