k8wiz
Kubernetes
Easy
Troubleshooting

kubectl get pods shows a Pod with STATUS SchedulingGated. What makes the scheduler start trying to place it?

Select your answer:

Show answer and explanation

Answer: Removing every entry from spec.schedulingGates

Explanation

A Pod with a non-empty spec.schedulingGates list gets a PodScheduled condition with reason SchedulingGated, and the scheduler does not attempt to place it. Once the controller or user removes all gates, the Pod enters the normal scheduling queue. Gates are not taints, so tolerations have no effect on them.

Read more about Kubernetes