To check why a Kubernetes pod is in a Pending state, the primary tool to use is kubectl describe pod.
Execute the following command, replacing POD_NAME with the actual name of your pending pod and NAMESPACE with its namespace if applicable:
kubectl describe pod POD_NAME -n NAMESPACE
The output of this command provides detailed information about the pod, including its events. The “Events” section at the bottom is crucial for understanding why the pod is pending. It will often contain messages from the Kubernetes scheduler explaining why the pod cannot be placed on a node. Analyze the “Events” section.
Unless you mean you cannot execute multiple jobs of the same template, in which case, this is a configuration option on the job template itself called “Concurrent jobs” which is a checkbox at the bottom.