Skip to content

Scheduler Overview

The Kubernetes scheduler is a control plane component that decides which node should run each unscheduled pod.

Scheduler decides where to place pods

Mental Model

The scheduler is like an air traffic controller deciding which runway each plane should land on. It doesn't land the planes itself but tells each plane which runway to use based on availability, size, and priority.

YAML Example

# Scheduler configuration
apiVersion: kubescheduler.config.k8s.io/v1beta3
kind: KubeSchedulerConfiguration
profiles:
- schedulerName: default-scheduler
  plugins:
    queueSort:
      enabled:
      - name: PrioritySort

Common Misconceptions

  • ✗Scheduler runs pods - FALSE: Scheduler assigns nodes, kubelet runs pods
  • ✗Scheduler is a pod - FALSE: It's a control plane process
  • ✗Scheduling decisions are final - FALSE: Pods can be rescheduled

Key Takeaways

  • • The Kubernetes scheduler is a control plane component that decides which node should run each unscheduled pod.
  • • The scheduler is like an air traffic controller deciding which runway each plane should land on. It ...
  • • Check the YAML example for implementation details
  • • Be aware of the common misconceptions listed above
Kubernetes Cosmos•An interactive learning experience
Built by GLM 4.7