From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Exploring the scheduling process

Exploring the scheduling process

- In this video, I'm going to explain the scheduling process. So a kube-scheduler takes care of finding a node to schedule new Pods. And notes are filtered according to specific requirements that may be set. These are requirements like resource requirements, affinity and anti affinity, taints and tolerations and more. The scheduler first finds feasible nodes and then scores them. It then picks a node with the highest score. That's a background process you don't have to worry about. Once this node is found, the scheduler notifies the API server in a process that's called binding. So once a scheduler decision has been made, it's picked up by the kubelet. And the kubelet will instruct CRI, which is a container runtime actually to fetch the image of the required container on the specific node where the pod is going to run. And after fetching the image, the container is created and started.

Contents