312-50V12 · Question #282
Geena, a cloud architect, uses a master component in the Kubernetes cluster architecture that scans newly generated pods and allocates a node to them. This component can also assign nodes based on…
The correct answer is D. Kube-scheduler. The described master component in a Kubernetes cluster, which scans new pods and allocates a node based on various factors like resource requirements and policies, is the Kube-scheduler.
Question
Options
- AKube-apiserver
- BEtcd cluster
- CKube-controller-manager
- DKube-scheduler
How the community answered
(46 responses)- A7% (3)
- B2% (1)
- C2% (1)
- D89% (41)
Why each option
The described master component in a Kubernetes cluster, which scans new pods and allocates a node based on various factors like resource requirements and policies, is the Kube-scheduler.
The Kube-apiserver is the front end for the Kubernetes control plane, exposing the Kubernetes API and handling all cluster communication, not allocating nodes to pods.
The Etcd cluster is a consistent and highly available key-value store used as Kubernetes' backing store for all cluster data, not for scheduling pods.
The Kube-controller-manager runs various controller processes (e.g., node controller, replication controller) that regulate the state of the cluster, but it does not directly assign pods to nodes.
The Kube-scheduler is a master component that watches for newly created pods with no assigned node and selects an appropriate node for them to run on. It considers numerous factors, including individual and collective resource requirements, hardware/software/policy constraints, affinity/anti-affinity rules, and data locality to make its placement decision.
Concept tested: Kubernetes master component roles and functions
Source: https://kubernetes.io/docs/concepts/overview/components/#kube-scheduler
Topics
Community Discussion
No community discussion yet for this question.