LabelSelectorV1.MatchLabels Property

Definition

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

Applies to