From the course: Kubernetes Essential Training: Application Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Batch processing with jobs and CronJobs

Batch processing with jobs and CronJobs - Kubernetes Tutorial

From the course: Kubernetes Essential Training: Application Development

Start my 1-month free trial

Batch processing with jobs and CronJobs

- [Instructor] To round this chapter out, there are two more resource kinds that I want to look at quickly. Whereas deployment and the like are in the apps part of the API. The two resources in this video are in the batch API group. And that gives you some hints as to what they do. So, let's go explore and find them. Kube CTL API resources. And let's filter that down to batch. And here we go. We have jobs and cron jobs. The first of these job, runs a pod containing a piece of software that just does one thing and then quit. 'Cause if you think about it, most pods run software that's long lived, like a web server, which starts up responds to queries every network and keeps doing that forever. In fact, we never want that software to quit. If it does, it's probably crashed. That's probably an error. But sometimes you want a piece of code to just perform a one off operation. So, what I'm going to do here is…

Contents