When you want to run a Pod into a Kubernetes cluster, you generally do not specify on which node you want the Pod to run. This is the job of the Kubernetes scheduler to determine on which node it will be running.
The Pod specs contain a nodeName field indicating on which node the Pod is scheduled.
The scheduler perpetually watches for Pods; when it finds a Pod with an empty nodeName field, the scheduler determines the best node on which to schedule this Pod and then modifies the Pod spec to write the nodeName field with the selected ...