KCNA · Kubernetes Fundamentals · lesson 7 of 8

Scheduling: How Kubernetes Places Pods on Nodes

How the Kubernetes scheduler selects nodes for Pods — resource requests, node selectors, affinity, taints, and tolerations.

15 min · Exam domain: Kubernetes Fundamentals (44%)

You kubectl apply a Deployment, and thirty seconds later all three replicas are Running. Then one day they aren't. One replica is stuck in Pending: "0/4 nodes are available: 1 node had untolerated taint, 3 nodes didn't match Pod's node affinity/selector." The scheduler couldn't find a node that satisfied the Pod's constraints.

kube-scheduler is the control plane component behind every placement decision. Understanding how it works is the key to understanding why Pods end up where they do. Scheduling falls within the KCNA Kubernetes Fundamentals domain, which accounts for 46% of the exam.

Enroll to read the rest of this lesson

Free. Your progress and certificate come with it.

Enroll, free