TopologySpreadConstraintV1.MatchLabelKeys 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.
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.