Kubernetes and Cloud Native Associate (KCNA) — Question 91
Which of these events will cause the kube-scheduler to assign a Pod to a node?
Answer options
- A. When the Pod crashes because of an error.
- B. When a new node is added to the Kubernetes cluster.
- C. When the CPU load on the node becomes too high.
- D. When a new Pod is created and has no assigned node.
Correct answer: D
Explanation
The correct answer is D because the kube-scheduler's primary responsibility is to assign Pods to nodes based on resource availability. Options A, B, and C do not trigger scheduling; A refers to a Pod that is already running, B pertains to cluster expansion which does not directly assign Pods, and C indicates a resource issue rather than a scheduling action.