PodSpecV1.NodeSelector 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.
Gets a dictionary of key-value pairs used to specify the node selector for the pod. The node selector enables you to define specific keys and values that a node must have for the pod to be scheduled on it.
[YamlDotNet.Serialization.YamlMember(Alias="nodeSelector")]
public System.Collections.Generic.Dictionary<string,string> NodeSelector { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="nodeSelector")>]
member this.NodeSelector : System.Collections.Generic.Dictionary<string, string>
Public ReadOnly Property NodeSelector As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute