Share via


VolumeNodeAffinityV1.Required Property

Definition

Defines the required node affinity constraints for scheduling a Kubernetes volume.

[YamlDotNet.Serialization.YamlMember(Alias="required")]
public Aspire.Hosting.Kubernetes.Resources.NodeSelectorV1 Required { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="required")>]
member this.Required : Aspire.Hosting.Kubernetes.Resources.NodeSelectorV1 with get, set
Public Property Required As NodeSelectorV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property specifies mandatory node selection criteria using a NodeSelectorV1 object. The criteria are used to determine the nodes on which a Kubernetes volume can be scheduled. It enables the definition of strict scheduling constraints that must be met for a node to be eligible.

Applies to