-
Notifications
You must be signed in to change notification settings - Fork 726
Description
New feature
Currently when many processes are queued via k8s jobs Nextflow will print warnings for every job unable to schedule a pod e.g.
WARN: K8s Job nf-1858f850f1e7e854a6f4695ace684a7c-df144 does not have pod - Not yet scheduled?
WARN: K8s Job nf-24a1c789dc837e54b34c16a08660365d-67a1c does not have pod - Not yet scheduled?
WARN: K8s Job nf-b3ed3f9916b43af5a8196597e9044bdb-48e63 does not have pod - Not yet scheduled?
WARN: K8s Job nf-ec282416a6cd7d600131a0d2685c7951-175d3 does not have pod - Not yet scheduled?
There are cases where this is a useful message but the majority of the time it just means that you don't have a large enough cluster/quota to schedule all pods simultaneously which is fine and normal and shouldn't lead to a warning.
Could this message be hidden by default? it makes watching Nextflow in k8s via the command line quite unpleasant since stderr is totally full of these messages and you only occasionally get to see the status of the pipeline.
An even better feature would be if Nextflow could distinguish between jobs unable to schedule pods because there's insufficient resources available vs jobs unable to schedule pods because the container URL is unreachable or k8s errors etc.