DeploymentSpecV1.Selector Property

Definition

Gets or sets the label selector for the deployment. The label selector defines how to identify the set of resources (such as pods) to which the deployment applies. It is used to match the desired pods against a label-based query.

[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, set
Public Property Selector As LabelSelectorV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to