Interview Prep/Jenkins/Agents, executors & the queue

Builds are stuck in the queue with `There are no nodes with the label ‘maven’` but the pod template with label `maven` exists.

IntermediateTroubleshootingAgents, executors & the queue
Answer

Likely causes → The cloud is at its concurrency limit, the template's instance cap is reached, the cloud's connection to the API server is failing, or the template is restricted to certain jobs/folders.

Diagnose → Manage Jenkins > Clouds > kubernetes > Test Connection; controller log for KubernetesCloud errors; count running pods vs caps.

Fix → Fix credentials/API connectivity, raise caps, remove unintended restrictions.

Prevent → Alert on Kubernetes plugin provisioning errors.

All Jenkins questions Roadmap: Jenkins

More on Agents, executors & the queue