Key Concepts
Job
Completions
Parallelism
Backoff Limit
Required Permissions
Job Status Values
Job Metrics
How to View Jobs
Select Cluster
Select Namespace
Filter and Search
How to View Job Details
Find the Job
Click Job Name
Review Details
- Completion progress (succeeded/target)
- Active and failed pod counts
- Duration and age
- Container specifications
- Events
How to Create a Job
Click Create Job
Write YAML
spec.completions- Number of successful completions requiredspec.parallelism- Max concurrent podsspec.backoffLimit- Max retries before failurespec.template- Pod template specification
Select Namespace
Create
How to Edit a Job
Open Actions Menu
Click View YAML
Modify Spec
Save
How to Delete a Job
Open Actions Menu
Click Delete
Confirm
Job Completion Modes
Parallelism and Completions
Troubleshooting
Job stuck in Pending
Job stuck in Pending
- Check if namespace has resource quotas blocking pod creation
- Verify the container image exists and is accessible
- Check for missing ConfigMaps, Secrets, or PVCs
- Review Job events for scheduling errors
Job keeps failing (backoff limit reached)
Job keeps failing (backoff limit reached)
- Check pod logs for application errors
- Verify command and arguments are correct
- Check if required environment variables are set
- Review resource limits - pods may be OOMKilled
- Increase
backoffLimitif retries are expected
Job running longer than expected
Job running longer than expected
- Set
spec.activeDeadlineSecondsto limit total runtime - Check if pods are stuck waiting for resources
- Review pod logs for slow operations
- Consider increasing parallelism
Completed Jobs accumulating
Completed Jobs accumulating
- Set
ttlSecondsAfterFinishedto auto-delete completed Jobs - Jobs created by CronJobs are cleaned up by history limits
- Manually delete old Jobs if needed
Pods not being created
Pods not being created
- Verify Job status and events
- Check for selector mismatch between Job and pod template
- Review namespace resource quotas
- Check ServiceAccount permissions if using custom accounts
Job completed but pods still running
Job completed but pods still running
- This shouldn’t happen normally
- Check if
ttlSecondsAfterFinishedis set - Manually delete orphaned pods if needed
FAQ
What's the difference between Jobs and Deployments?
What's the difference between Jobs and Deployments?
How do I run a Job on a schedule?
How do I run a Job on a schedule?
What happens if a Job pod fails?
What happens if a Job pod fails?
backoffLimit times. Each retry uses exponential backoff (10s, 20s, 40s…, capped at 6 minutes). After exceeding the limit, the Job is marked Failed.Can I restart a failed Job?
Can I restart a failed Job?
How do I limit how long a Job can run?
How do I limit how long a Job can run?
spec.activeDeadlineSeconds to specify the maximum runtime in seconds. The Job will be terminated if it exceeds this duration, regardless of completion status.What is ttlSecondsAfterFinished?
What is ttlSecondsAfterFinished?
ttlSecondsAfterFinished: 3600 deletes the Job one hour after completion.How do I process a work queue with Jobs?
How do I process a work queue with Jobs?
parallelism set but completions unset. Each pod processes items from a shared queue until the queue is empty, then exits successfully.What's the default backoff limit?
What's the default backoff limit?
backoffLimit is 6, meaning Kubernetes will retry failed pods up to 6 times before marking the Job as failed.Can I update a running Job?
Can I update a running Job?