TopologySpreadConstraintV1.MatchLabelKeys Property

Definition

Defines a list of specific label keys that are required to be matched for topology spreading constraints.

[YamlDotNet.Serialization.YamlMember(Alias="matchLabelKeys")]
public System.Collections.Generic.List<string> MatchLabelKeys { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="matchLabelKeys")>]
member this.MatchLabelKeys : System.Collections.Generic.List<string>
Public ReadOnly Property MatchLabelKeys As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property specifies which label keys should be included for matching when determining the topology spread constraints of a Kubernetes resource. By specifying these keys, users can focus on specific labels that must be present for enforcing the desired topological spread among nodes.

Applies to