ObjectMetaV1.Labels 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 organize and categorize Kubernetes resources.
[YamlDotNet.Serialization.YamlMember(Alias="labels")]
public System.Collections.Generic.Dictionary<string,string> Labels { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="labels")>]
member this.Labels : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Labels As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
Labels provide a mechanism to attach metadata to Kubernetes objects, enabling users to select and group resources. These labels can be utilized by controllers for policy application and management operations and can also assist in search and filtering processes.