Jobs: Batch Processing
A Job creates one or more Pods and ensures that a specified number of them successfully terminate.
1. Job Manifest Example
Section titled “1. Job Manifest Example”apiVersion: batch/v1kind: Jobmetadata: name: database-migrationspec: backoffLimit: 4 completions: 1 template: spec: restartPolicy: OnFailure containers: - name: migration-worker image: mycompany/db-migration:v1.2 command: ["python", "manage.py", "migrate"]