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

Study for the Kubernetes Cloud Native Associate (KCNA) Certification. Prepare with flashcards and multiple choice questions. Ensure success with detailed explanations. Ready for 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