LabelSelectorV1.MatchLabels 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.
A collection of key-value pairs used to specify matching labels for Kubernetes resources. Labels are utilized as selectors to filter or identify a subset of resources within a Kubernetes environment.
[YamlDotNet.Serialization.YamlMember(Alias="matchLabels")]
public System.Collections.Generic.Dictionary<string,string> MatchLabels { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="matchLabels")>]
member this.MatchLabels : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property MatchLabels As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute