Delay shutdowns of backup jobs to reduce killing those in progress
This commit is contained in:
parent
9ba74ce698
commit
efe7864cc9
@ -62,6 +62,8 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
|
||||
task "backup" {
|
||||
driver = "docker"
|
||||
|
||||
shutdown_delay = "5m"
|
||||
|
||||
volume_mount {
|
||||
volume = "all-volumes"
|
||||
destination = "/data"
|
||||
|
Loading…
Reference in New Issue
Block a user