Jobs

job related operations

Deprecated

List all Jobs in the cluster. Deprecated - please use api/v1/workloads instead

get
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
uuidstring · uuidRequired

Unique identifier of the cluster

Query parameters
nodeIdstringOptional

Unique identifier of the node.

filterstringOptional
sortBystringOptional

Order of the results.

sortDirectionstring · enumOptionalPossible values:
fromnumberOptional

Start the response from a given number of result. Used along with 'limit' to retrieve the results paginated.

limitnumberOptional

Limit the response to a given number of results.

includeDeletedbooleanOptional

True to include deleted jobs in the result.

Default: true
Responses
chevron-right
200

An array of Jobs

application/json
JobIdstring · uuidOptional

Unique identifier of the job.

podGroupIdstring · uuidOptional

Unique identifier of the pod group.

jobNamestringOptional

The name of the job.

Example: job-0
jobTypestringOptional
clusterIdstringOptional

Unique identifier of the cluster.

statusstringOptional
imageNamestringOptional

The name of the image executed by the pod.

Example: tensorflow
userstringOptional

The owner of the job.

projectstringOptional

The project that the pod group belongs to.

nodeIdstringOptional

Unique identifier of the node.

creationTimestringOptional

Creation time of the job.

completionTimestringOptional

Completion time of the job.

totalRuntimestringOptional
totalWaitTimestringOptional
pendingnumberOptional
runningnumberOptional
parallelismnumberOptional
completionsnumberOptional
failednumberOptional
succeedednumberOptional
currentAllocatedGPUsnumberOptional
currentAllocatedGPUsMemorynumberOptional
currentRequestedGPUsnumberOptional
totalRequestedGPUsnumberOptional
requestedGPUsPerPodGroupnumberOptional
requestedGPUsMemoryPerPodGroupnumberOptional
parentWorkloadNamestringOptional
totalRequestedMemorynumberOptional
totalRequestedCPUnumberOptional
totalLimitCPUnumberOptional
totalLimitMemorynumberOptional
workloadKindnumberOptional

Specifies the kind of k8s resource that owns the pod group.

Example: runaijob
cliCommandstringOptional
requestedMigDevicesstringOptionalDeprecated
dynamicDataobjectOptional
existsInClusterbooleanOptional
isJupyterbooleanOptional

If true, it indicates that the pod group runs jupyter notebook.

Default: false
jobUrlstringOptional
nodePoolstringOptional

The node pool of the job.

get
/v1/k8s/clusters/{uuid}/jobs
Deprecated

Return the number all Jobs in the cluster. Deprecated - please use api/v1/workloads/count instead

get
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
uuidstring · uuidRequired

Unique identifier of the cluster

Query parameters
nodeIdstringOptional

Unique identifier of the node.

filterstringOptional
Responses
chevron-right
200

The job count

application/json
numberOptional
get
/v1/k8s/clusters/{uuid}/jobs/count
Deprecated

Get all pods that are associated for a specific job. Deprecated - please use api/v1/workloads/{workloadId}/pods instead

get
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
jobIdstring · uuidRequired

Unique identifier of the job (UUID)

uuidstring · uuidRequired

Unique identifier of the cluster

Query parameters
idstringOptional

id

podIdstringOptional

Unique identifier of the pod.

podGroupIdstringOptional

Identifier of the pod group.

nodeIDstringOptional

Unique identifier of the node.

namestringOptional

The name of the job.

statusstringOptional

The status of the job.

Responses
chevron-right
200

Expected response to a valid request

application/json
podIdstringRequired

Identifier of the pod running the job.

jobIdstring · uuidRequired

Unique identifier of the job.

podGroupIdstringOptional

This had been used as jobId. Remained here for backward compatibility

clusterUuidstring · uuidRequired

Unique identifier of the cluster.

podNamestringRequired

The name of the pod running the job.

imageNamestringRequired

The name of the image executed by the pod.

nodeIdstringOptional

Unique identifier of the node.

phasestringRequired
statusstringOptional
createdinteger · int64Required

Creation time of the pod.

completedinteger · int64Required

Completion time of the pod.

startedinteger · int64Optional

The time when the pod started executing.

lastUpdatedinteger · int64Required

Last time the pod details were updated.

dynamicDataobjectOptional
existsInClusterbooleanOptional
nodePoolstringOptional

The node pool of the pod.

namespacestringOptional

The namespace of the pod.

get
/v1/k8s/clusters/{uuid}/jobs/{jobId}/pods

Last updated