Understanding how to set a maximum duration for jobs
When defining a job, you can define its maximum duration by setting
the activeDeadlineSeconds field. It is specified in seconds and is not
set by default. When not set, there is no maximum duration enforced.
The maximum duration is counted from the time when a first pod gets scheduled in the system, and defines how long a job can be active. It tracks overall time of an execution. After reaching the specified timeout, the job is terminated by OpenShift Container Platform.