DeploymentSpecV1.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 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