Skip to content

Jobs

Use a Kubernetes Job to run a task that finishes, such as preparing data, setting up a model, running a migration, rendering files, or evaluating a model. The job starts pods to do the work and tracks whether it completes.

Create a job

  1. Open Kubernetes / Jobs.
  2. Select a namespace and open the create form.
  3. Enter a job name, select a plan, and choose a container image.
  4. Optionally enter a shell command, then create the job.

Use kubectl for settings the form does not include. These let you control parallel runs, retries, and the number of completions, or add labels, annotations, environment variables, storage, and multiple containers.

What to expect after creation

Open the job in the console to check its status and read its pod logs and events. The example prints run batch task and exits. To run the task again, create a job with a new name.

Troubleshooting

SymptomWhat to check
kubectl apply is rejectedCheck the job pod template's compute-plan label
Job is created but no pod runsInspect the job and pod events with kubectl describe job and kubectl describe pod
Job fails quicklyReview container logs with kubectl logs; also check the command, image, and required environment variables
Job retries more than expectedCheck backoffLimit, restartPolicy, and pod exit codes
You need to run the work againCreate a new job name or apply a new manifest for the next run

RemoteGPU customer documentation