ServiceSpecV1.Selector 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.
Represents the selector field in the Kubernetes Service specification.
[YamlDotNet.Serialization.YamlMember(Alias="selector")]
public System.Collections.Generic.Dictionary<string,string> Selector { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="selector")>]
member this.Selector : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Selector As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The selector is a key-value pair dictionary used to identify a set of pods that the Service targets. The Service routes traffic to these pods based on the selector definition.