312-50V13 · Question #386
312-50V13 Question #386: Real Exam Question with Answer & Explanation
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
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 factors such as the overall resource requirement, data locality, software/hardware/policy restrictions, and internal workload interventions. Which of the following master components is explained in the above scenario?
Options
- AKube-controller-manager
- BKube-scheduler
- CKube-apiserver
- DEtcd cluster
Explanation
The Kube-scheduler is the Kubernetes master component responsible for assigning newly created Pods to appropriate nodes based on various factors and constraints.
Common mistakes.
- A. 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.
- C. 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. - D. 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
Reference. https://kubernetes.io/docs/concepts/overview/components/#kube-scheduler
Topics
Community Discussion
No community discussion yet for this question.