January 2019
Intermediate to advanced
484 pages
11h 48m
English
A Job-like pod is suitable to run for batch programs such as collecting data, querying the database, generating a report, and so on. Although this is referred to as short-lived, it doesn't matter how long is spent on it. This may need to run for a few seconds, or perhaps a few days, in order to complete. It will eventually exit an application, which means it has an end state.
Kubernetes is capable of monitoring a short-lived application as a Job, and in the case of failure, Kubernetes will create a new pod for the Job that tries to accomplish your application to complete.
In order to submit a Job to Kubernetes, you need to write a Job template that specifies the pod configuration. The following ...
Read now
Unlock full access