Browse Source

Prevent repozo cronjob from running more than one pod at a time

master
Fábio Kaiser Rauber 3 years ago
parent
commit
bcc8d88883
  1. 1
      charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml

1
charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml

@ -9,6 +9,7 @@ metadata:
spec:
# generate a random backup time between 1 and 5 AM
schedule: {{ mod (randNumeric 2) 60 }} {{ mod (randNumeric 1) 6 }} * * *
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:

Loading…
Cancel
Save