PersistentVolumeClaimSpecV1.Selector Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the label selector used to filter Kubernetes resources.
[YamlDotNet.Serialization.YamlMember(Alias="selector")]
public Aspire.Hosting.Kubernetes.Resources.LabelSelectorV1 Selector { get; set; }[<YamlDotNet.Serialization.YamlMember(Alias="selector")>]
member this.Selector : Aspire.Hosting.Kubernetes.Resources.LabelSelectorV1 with get, setPublic Property Selector As LabelSelectorV1Property Value
- Attributes
- 
			YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The Selector property allows the specification of a set of filtering criteria using labels. It supports exact matches with key-value pairs (MatchLabels) as well as more complex filtering rules using label selector requirements (MatchExpressions). This property is commonly used to dynamically select resources like pods or volumes in Kubernetes deployments.