When does the Kubernetes Kube-Scheduler determine the node placement for a pod?

Prepare for the KCNA Certification Test. Study with flashcards, multiple-choice questions, and detailed explanations to enhance your understanding of Kubernetes Cloud Native concepts. Ace your exam!

Multiple Choice

When does the Kubernetes Kube-Scheduler determine the node placement for a pod?

Explanation:
Scheduling happens after you create the pod. The Pod is stored in etcd via the API server, and the scheduler watches for pods that have no node assigned yet (Pending). It then chooses a suitable node based on resources and constraints and binds the Pod to that node by setting the pod’s nodeName (or creating a Binding). Only after this binding does the Pod actually run on the selected node. So the node placement is determined after creation and registration in etcd, not before creation, during cluster provisioning, or during deletion.

Scheduling happens after you create the pod. The Pod is stored in etcd via the API server, and the scheduler watches for pods that have no node assigned yet (Pending). It then chooses a suitable node based on resources and constraints and binds the Pod to that node by setting the pod’s nodeName (or creating a Binding). Only after this binding does the Pod actually run on the selected node. So the node placement is determined after creation and registration in etcd, not before creation, during cluster provisioning, or during deletion.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy