Certified Ethical Hacker (CEH v11) — Question 357
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?
Answer options
- A. Kube-apiserver
- B. Etcd cluster
- C. Kube-controller-manager
- D. Kube-scheduler
Correct answer: D
Explanation
The Kube-scheduler is responsible for assigning newly created pods to appropriate nodes based on various factors like resource requirements and data locality. The Kube-apiserver handles API requests, the Etcd cluster stores the cluster's data, and the Kube-controller-manager manages controllers, but none of them perform the scheduling function described in the scenario.