Process Flow - Jobs and CronJobs for batch processing
Define Job or CronJob YAML
kubectl apply -f file.yaml
Kubernetes creates Job resource
Job creates Pod(s) to run batch task
Pod runs task to completion
Job marks completion or failure
For CronJob: Wait until next schedule
Repeat Job creation on schedule
Shows how defining and applying a Job or CronJob YAML leads Kubernetes to create Pods that run batch tasks once or on a schedule.