© Ernesto Garbarino 2019
E. GarbarinoBeginning Kubernetes on the Google Cloud Platformhttps://doi.org/10.1007/978-1-4842-5491-2_6

6. Jobs

Ernesto Garbarino1 
(1)
EGHAM, UK
 

Batch processing differs from persistent applications—such as web servers—in that programs are expected to complete and terminate once they achieve their goal. Typical examples of batch processing include database migration scripts, video encoding jobs, and Extract-Load-Transform (ETL) runbooks. Similarly to the ReplicaSet controller, Kubernetes has a dedicated Job controller that manages Pods for the purpose of running batch-oriented workloads.

Instrumenting batch processes using Jobs is relatively straightforward as we will soon learn in this short chapter. In the first section, ...

Get Beginning Kubernetes on the Google Cloud Platform: A Guide to Automating Application Deployment, Scaling, and Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.