Run a Job
Execute a one-off batch task using a Job. A Job completes when the specified number of Pods finish successfully.
Prerequisites
- Target Namespace exists.
Step 1. Open the Create form
- In the left menu, select Workloads → Jobs.
- Click Create Job in the top-right corner.
- Select Create as form from the dropdown.
Step 2. Configure the Job
| Field | Description | Example |
|---|---|---|
| Name | Job name | batch-job-01 |
| Namespace | Target Namespace | default |
| Completions | Number of Pods that must complete successfully | 1 |
| Parallelism | Number of Pods to run in parallel | 1 |
| Backoff Limit | Number of retries on failure | 3 |
| Active Deadline | Maximum execution time (seconds) | 600 |
Step 3. Configure the Container
| Field | Description | Example |
|---|---|---|
| Image | Container image to run | busybox:1.36 |
| Command | Container entrypoint | sh |
| Args | Command arguments | -c, echo "done" && exit 0 |
TIP
Job containers must have restartPolicy set to Never or OnFailure. This is configured automatically in the form.
Step 4. Run and verify
Click Create.
The Job is complete when the Completions column shows 1/1 (or the configured count).
| Status | Description |
|---|---|
| Active | Pod is running |
| Succeeded | Required completions reached |
| Failed | Backoff Limit exceeded |
Step 5. Check the output
Click the Job name to open the detail page.
On the Pods tab, select a Pod to view logs. Click the Logs tab to see the execution output.