A Kubernetes Job runs work until it completes successfully.
Jobs are used for finite tasks, not long-running services.
Common uses
- Database migrations
- Batch processing
- One-off maintenance tasks
- Data import or export tasks
Compare
A Kubernetes Deployment keeps Pods running continuously.
A Job starts Pods, waits for the work to finish, and tracks completion.
For scheduled repeated work, use a Kubernetes CronJob.