Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
cleanup finished init job pods after 120 seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sstubbs committed Mar 7, 2020
1 parent a92eaaf commit b24383b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/job/onload.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
app.kubernetes.io/component: {{ $component }}
{{- template "global_labels" . }}
spec:
ttlSecondsAfterFinished: 120
backoffLimit: {{ .cluster.values.on_load.back_off_limit }}
template:
metadata:
Expand Down

0 comments on commit b24383b

Please sign in to comment.