Jobs

job related operations

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

SecuritybearerAuth
Request
path Parameters
uuid
required
string <uuid>

Unique identifier of the cluster

query Parameters
nodeId
string

Unique identifier of the node.

filter
string
sortBy
string

Order of the results.

sortDirection
string
Enum: "ASC" "DESC"
from
number

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

limit
number

Limit the response to a given number of results.

includeDeleted
boolean
Default: true

True to include deleted jobs in the result.

Responses
200

An array of Jobs

401

Unauthorized

503

unexpected error

get/v1/k8s/clusters/{uuid}/jobs
Response samples
application/json
[
  • {
    }
]

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

SecuritybearerAuth
Request
path Parameters
uuid
required
string <uuid>

Unique identifier of the cluster

query Parameters
nodeId
string

Unique identifier of the node.

filter
string
Responses
200

The job count

401

Unauthorized

404

The specified resource was not found

503

unexpected error

get/v1/k8s/clusters/{uuid}/jobs/count
Response samples
application/json
0
0

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

SecuritybearerAuth
Request
path Parameters
jobId
required
string <uuid>

Unique identifier of the job (UUID)

uuid
required
string <uuid>

Unique identifier of the cluster

query Parameters
id
string

id

podId
string

Unique identifier of the pod.

podGroupId
string

Identifier of the pod group.

nodeID
string

Unique identifier of the node.

name
string

The name of the job.

status
string

The status of the job.

Responses
200

Expected response to a valid request

401

Unauthorized

default

unexpected error

get/v1/k8s/clusters/{uuid}/jobs/{jobId}/pods
Response samples
application/json
[
  • {
    }
]