Welcome to the Linux Foundation Forum!

Is there a name for the kube-scheduler node selection?


I am taking the Kubernetes and Cloud Native Essentials (LFS250) and I have not seen a name for filtering and selecting the right node, as mentioned in:

"The scheduler will use that information to filter all nodes that fit these requirements. If multiple nodes fit the requirements equally, Kubernetes will schedule the Pod on the node with the least amount of Pods. This is also the default behavior if a user has not specified any further requirements."

Best Answer

  • fazlur.khan
    fazlur.khan Posts: 43
    Answer ✓

    Hi @alfeups

    There is no name as such, What it does is a two step process.

    1. Filtering
    2. Scoring

    pods can have different requirements, the scheduler filters out any nodes that don't meet a Pod's specific scheduling needs. If there is more than one node which matches the requirement, then it scores the node and selects node with highest score.

    There are ways to configure the filtering and scoring behavior of the scheduler, if need be with help of Scheduling Policies and Scheduling Profiles. Generally the scheduler does a good job distributing the workload across the node.

    hope that answers the question.



Upcoming Training