aboutsummaryrefslogtreecommitdiff
path: root/nomad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2019-07-11 22:29:35 +0200
committerQuentin Dufour <quentin@dufour.io>2019-07-11 22:29:35 +0200
commit172ab4c4d751b8d182137d97577c98a7192f7058 (patch)
treebe63f5fe926c996cb28e8581289afab381fa638a /nomad
parent61d009f18d5886db8b22ae41e04bb41a4ba2fddb (diff)
downloadinfrastructure-172ab4c4d751b8d182137d97577c98a7192f7058.tar.gz
infrastructure-172ab4c4d751b8d182137d97577c98a7192f7058.zip
Add update stanza
Diffstat (limited to 'nomad')
-rw-r--r--nomad/postgres-amd64.hcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/nomad/postgres-amd64.hcl b/nomad/postgres-amd64.hcl
index 9065d10..0a6369a 100644
--- a/nomad/postgres-amd64.hcl
+++ b/nomad/postgres-amd64.hcl
@@ -7,6 +7,11 @@ job "dbx86" {
value = "amd64"
}
+ update {
+ max_parallel = 1
+ stagger = "5m"
+ }
+
group "postgres" {
task "sentinel" {
driver = "docker"