Kubernetes and Cloud Native Associate (KCNA) — Question 143
Which component in Kubernetes is responsible to watch newly created Pods with no assigned node, and selects a node for them to run on?
Answer options
- A. etcd
- B. kube controller-manager
- C. kube proxy
- D. kube scheduler
Correct answer: D
Explanation
The kube scheduler is the component that observes Pods without assigned nodes and allocates them to suitable nodes based on resource availability and scheduling policies. The etcd is a distributed key-value store, the kube controller-manager handles controllers for various resources, and the kube proxy manages network communication, none of which are involved in pod scheduling.