Jobs

A Job is a special object used to run parallel tasks or tasks that must run only once. A Job starts and monitors tasks and can retry them after errors or failures.

On the Jobs tab you can create, delete, and view jobs.

Creating a Job

To create a one-off Job, click + Add Job.

Fill in:

  • Description.
  • Job template (Template Job).
  • Container details. For Init containers, Containers, and Pod template settings, see Pods.

Click Save.

You can delete a Job from the namespace in one of the following ways:

  • On the Jobs page, click in the object row.
  • On the Job view page, on the Job tab, click Delete.
  • On the Job view page, open the Manifest tab and click .

Viewing a Job

The Job view page has tabs:

  • Job
  • Pods (shows a count)
  • Pod template
  • Labels and annotations (list of labels and annotations)
  • Events (shows a count)
  • Security

Job tab

The Job tab shows the Job, creation date and time, state, status, lastScheduleTime, and lastSuccessfulTime.

Screenshot

job

The Job specification block includes:

  • completions
  • completionMode
  • ttlSecondsAfterFinished
  • parallelism
  • backoffLimit
  • activeDeadlineSeconds

The Pod selector block shows matching pod labels. Note! Label selectors use logical AND. The selected object must have all specified labels.

The Monitoring metrics block shows CPU Usage and Memory Usage for the Job over the past hour.

Pods tab

Screenshot

jobpod2

Lists pods owned by the Job with details:

  • Pod name (filterable).
  • Ratio of running containers to total containers in the pod.
  • Pod restart count (sortable).
  • Creation date (sortable).
  • Namespace (filterable). Clicking the namespace name opens the namespace dashboard. Enter a value to filter pods by namespace. To clear namespace filtering, click Cancel in the filter, then Apply.
  • Status (filterable). Filter values: Running, Pending, Terminating, CrashLoopBackOff, Completed, Failed, Unknown.
  • Parent object (filterable). When the pod belongs to a workload, clicking the workload name opens its view page.
  • Node where the pod runs (filterable). Clicking the node opens the node view page if you have access.
  • Pod QoS (Quality of Service) (filterable: Guaranteed, Burstable, BestEffort). For more about QoS, see Pods.
  • Pod labels (the Labels column is hidden by default). To show pod labels, click the gear icon in the table corner and enable the Labels column.

Click a pod row to open the pod view page.

Pod template tab

Screenshot

jobtp

Shows the pod template, containers, init containers, and volumes for the Job.

Security tab

Screenshot

jobsecure

The Security tab shows:

  • Image vulnerability scan results for objects in this Job (shown only if the Container Image Scanning module is installed in the cluster).
  • Security policy compliance analysis results for objects in this Job (shown only if the Application Configuration Analysis module is installed in the cluster).

Events tab

Screenshot

jobevent

The Events tab shows Job and related object events:

  • event type indicator;
  • date and time;
  • event source;
  • event message text.

Manifest tab

Screenshot

jobmanifest1

The Manifest tab shows the Job manifest for viewing and copying. You can also delete the Job. If the Job has at least one privileged container, that is indicated on the tab.