Jenkins agent pods leak: hundreds of completed `Error` pods remain in the namespace.
IntermediateTroubleshootingJenkins Credentials, Plugins and Controller Issues
Answer
Likely causes → Pods crash before cleanup; the controller restarted while pods were running.
Diagnose → kubectl get pods -n jenkins --field-selector=status.phase=Failed.
Fix → Set pod retention to Never/OnFailure sensibly; delete stale pods with a CronJob; set activeDeadlineSeconds on the template.
Prevent → Resource quotas on the build namespace.
More on Jenkins Credentials, Plugins and Controller Issues
`ERROR: Could not find credentials entry with ID 'docker-hub'`.BeginnerJenkins UI shows `HTTP ERROR 403 No valid crumb was included in the request`.BeginnerAfter upgrade, Jenkins shows `Jenkins failed to start` and logs `Failed Loading plugin ... Plugin is missing: ...`.AdvancedJenkins is extremely slow; the UI times out; thread dump shows many blocked threads.Advanced`java.lang.OutOfMemoryError: Java heap space` on the controller.Intermediate`No such property: env for class: groovy.lang.Binding` in a shared library.Advanced