Skip to content
Docs Try Aspire

NodeAffinityV1 Constructors

Class Constructors 1 member
Represents node affinity scheduling configuration for Kubernetes pods. This class defines the rules to determine node selection for a pod during scheduling. Node affinity allows a pod to specify constraints that limit the set of nodes it can be scheduled onto. This includes both hard requirements (requiredDuringSchedulingIgnoredDuringExecution) and soft preferences (preferredDuringSchedulingIgnoredDuringExecution).
public sealed class NodeAffinityV1
{
public NodeAffinityV1()
{
// ...
}
}