KCSA practice question 12 of 15

Which of the following statements best describes the role of the Scheduler in Kubernetes?

Full set: 59 questions
Answer options
A: The Scheduler is responsible for monitoring and managing the health of the Kubernetes cluster.
B: The Scheduler is responsible for ensuring the security of the Kubernetes cluster and its components.
C: The Scheduler is responsible for managing the deployment and scaling of applications in the Kubernetes cluster.
D: The Scheduler is responsible for assigning Pods to nodes based on resource availability and other constraints. Correct answer
Correct Answer:
D. The Scheduler is responsible for assigning Pods to nodes based on resource availability and other constraints.
Explanation

The Kubernetes Scheduler is a core control plane component whose exclusive responsibility is to assign newly created Pods to nodes. It watches the API Server for Pods that do not have a .spec.nodeName field set. For each such Pod, the Scheduler executes a decision-making process to find the best possible node. This process involves two steps: filtering, which finds the set of feasible nodes that can satisfy the Pod's requirements (e.g., CPU/memory requests, affinity rules), and scoring, which ranks the feasible nodes to select the most suitable one. The Scheduler then binds the Pod to the chosen node.

Why Incorrect

A. Cluster health monitoring is a function of the Controller Manager (specifically the Node Controller) and the Kubelet agent on each node.
B. Security is a broad, cluster-wide concern managed through RBAC, Network Policies, and API server authentication/authorization, not the Scheduler.
C. Application deployment and scaling are managed by various controllers (e.g., Deployment, ReplicaSet) within the Controller Manager component.

References

1. Kubernetes Official Documentation

"Kubernetes Components": In the section "Control Plane Components

" kube-scheduler is explicitly defined: "Control plane component that watches for newly created Pods with no assigned node

and selects a node for them to run on." This document also defines the roles of the kube-controller-manager (handling nodes

deployments) and kube-apiserver (security

API)

distinguishing them from the Scheduler.

Source: https://kubernetes.io/docs/concepts/overview/components/#kube-scheduler

2. Kubernetes Official Documentation

"Scheduling

Preemption and Eviction": This page details the Scheduler's role: "In Kubernetes

scheduling refers to making sure that Pods are matched to Nodes so that Kubelet can run them... The scheduler is responsible for deciding which node a pod should run on." It further explains the filtering and scoring phases.

Source: https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/#kube-scheduler

3. University of California

Berkeley

EECS Courseware

CS 162: Operating Systems and Systems Programming: Lecture materials on Cloud Computing describe the architecture of cluster managers like Kubernetes. They identify the Scheduler as the component responsible for resource allocation and placement decisions

distinct from controllers that manage application lifecycle or agents that monitor node health.

Source: CS 162

Lecture 22: "Cloud Computing

" section on "Cluster Management (Kubernetes)." (e.g.

https://cs162.eecs.berkeley.edu/static/lectures/22-Cloud.pdf

Slide 58).

Scroll to Top