You have a GKE Autopilot cluster running production workloads. You notice that a Deployment's pods are in a Pending state and cannot be scheduled. The cluster appears to have available node capacity. What are the two most likely causes? (Select TWO)
- A. The pod has a NodeSelector or affinity rule that doesn't match any available nodes✓ Correct
- B. The GKE Autopilot cluster's quota limit has been reached and Autopilot cannot provision additional nodes✓ Correct
- C. The pod's resource requests exceed the available node capacity in the cluster
- D. The Deployment uses a PersistentVolumeClaim that doesn't have an available PersistentVolume
- E. The pod's image is not cached on the cluster's nodes, causing scheduling delays
Explanation
The two correct answers are: (1) The pod has a NodeSelector or affinity rule that doesn't match any available nodes (pods won't schedule if their affinity constraints exclude available nodes), and (2) The GKE Autopilot cluster's quota limit has been reached and Autopilot cannot provision additional nodes (in Autopilot, even with apparent capacity, quota limits can prevent node creation). Option 0 is wrong because the user reported available node capacity, so resource constraints wouldn't typically cause pending state. Option 3 is wrong because image availability doesn't block scheduling; the image is pulled after a pod is scheduled, so missing images delay pod startup, not scheduling. Option 4 is wrong because PersistentVolume unavailability would cause pod creation errors, not scheduling delays; pods would typically fail to mount rather than remain pending indefinitely.