© The Author(s), under exclusive license to APress Media, LLC , part of Springer Nature 2021
P. MartinKuberneteshttps://doi.org/10.1007/978-1-4842-6494-2_9

9. Scheduling Pods

Philippe Martin1  
(1)
Gif-sur-Yvette, France
 

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 ...

Get Kubernetes: Preparing for the CKA and CKAD Certifications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.