runtraj.execution.kubernetes.project_jobs#

runtraj.execution.kubernetes.project_jobs(project, execution)[source]#

Return the summaries of a project’s Jobs on the cluster, oldest first (job_summary()).

These are the indexed Jobs of runtraj submit and the hourly Jobs of runtraj schedule, in the namespace of execution’s kubernetes block. kubectl selects them by the project’s label, which is only its name, so two projects can share it; a Job is kept only when its annotation names where this project’s pods open it (the inputs’ URL, or the folder’s path).

Raises:
Return type:

list[dict[str, Any]]

Parameters: