:_mod-docs-content-type: ASSEMBLY
:context: nodes-pods-node-selectors
[id="nodes-pods-node-selectors"]
= Placing pods on specific nodes using node selectors
include::_attributes/common-attributes.adoc[]

toc::[]


[role="_abstract"]
For a pod to be eligible to run on a specific node, you can include a _node selector_ in the pod spec that has the indicated key-value pairs as the label on that node.

A _node selector_ specifies a map of key-value pairs. The rules are defined using custom labels on nodes and selectors specified in pods.

If you are using node affinity and node selectors in the same pod configuration, see the important considerations below.

// The following include statements pull in the module files that comprise
// the assembly. Include any combination of concept, procedure, or reference
// modules required to cover the user story. You can also include other
// assemblies.

include::modules/nodes-scheduler-node-selectors-pod.adoc[leveloffset=+1]

