KCNA · Question #105
What are the two steps performed by the kube-scheduler to select a node to schedule a pod?
The correct answer is C. Filtering and scoring. The kube-scheduler employs a two-step process of filtering and scoring to determine the optimal node for scheduling a new pod.
Question
What are the two steps performed by the kube-scheduler to select a node to schedule a pod?
Options
- AGrouping and placing
- BFiltering and selecting
- CFiltering and scoring
- DScoring and creating
How the community answered
(56 responses)- A7% (4)
- B2% (1)
- C89% (50)
- D2% (1)
Why each option
The kube-scheduler employs a two-step process of filtering and scoring to determine the optimal node for scheduling a new pod.
Grouping and placing are not the standard technical terms used by the kube-scheduler for its node selection process.
Selecting is too generic and doesn't accurately describe the refined scoring process that follows filtering to pick the best node.
The kube-scheduler first performs a "filtering" step, which identifies a set of viable nodes where the pod can run based on criteria like resource requirements and node affinity. After filtering, it proceeds to a "scoring" step, which ranks the viable nodes based on a set of scoring functions to find the best-fit node for the pod.
Creating is an action performed by the kubelet on the selected node, not a step in the kube-scheduler's node selection process.
Concept tested: Kubernetes scheduler node selection process
Source: https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/
Topics
Community Discussion
No community discussion yet for this question.