Bird
0
0

What is the primary function of the kube-scheduler in Kubernetes?

easy📝 Conceptual Q2 of 15
Kubernetes - Fundamentals
What is the primary function of the kube-scheduler in Kubernetes?
AAssign pods to nodes based on resource availability
BStore cluster state data
CServe API requests from users
DManage replication controllers
Step-by-Step Solution
Solution:
  1. Step 1: Identify scheduler's role

    The kube-scheduler assigns pods to nodes by evaluating resource availability and constraints.
  2. Step 2: Exclude other component functions

    Storing data is etcd's job, serving API requests is kube-apiserver, and managing controllers is controller-manager's task.
  3. Final Answer:

    Assign pods to nodes based on resource availability -> Option A
  4. Quick Check:

    Pod placement = scheduler [OK]
Quick Trick: Scheduler decides where pods run in the cluster [OK]
Common Mistakes:
  • Mixing scheduler with API server
  • Thinking scheduler stores data
  • Confusing scheduler with controller-manager

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes