PodSpecV1.NodeSelector Property

Definition

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

Applies to