312-50V13 · Question #386
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 B. Kube-scheduler. The Kube-scheduler is the Kubernetes master component responsible for assigning newly created Pods to appropriate nodes based on various factors and constraints.
Question
Options
- AKube-controller-manager
- BKube-scheduler
- CKube-apiserver
- DEtcd cluster
How the community answered
(30 responses)- A3% (1)
- B90% (27)
- C7% (2)
Why each option
The Kube-scheduler is the Kubernetes master component responsible for assigning newly created Pods to appropriate nodes based on various factors and constraints.
Kube-controller-manager runs various controller processes that regulate the state of the cluster, such as replication controllers, endpoints controllers, and namespace controllers, but it doesn't assign pods to nodes.
The Kube-scheduler is a Kubernetes master component that watches for newly created Pods with no assigned node and selects a node for them to run on. It considers numerous factors in its scheduling decisions, including individual and collective resource requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, and inter-workload interference.
Kube-apiserver is the front end for the Kubernetes control plane, exposing the Kubernetes API; it processes REST requests and updates `etcd`, but it doesn't perform scheduling.
Etcd cluster is a distributed key-value store that serves as Kubernetes' backing store for all cluster data, but it is a data store, not a component responsible for active scheduling decisions.
Concept tested: Kubernetes Kube-scheduler function
Source: https://kubernetes.io/docs/concepts/overview/components/#kube-scheduler
Topics
Community Discussion
No community discussion yet for this question.