diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 23:15:05 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 23:15:05 +0200 |
commit | 775bab3735c6d8ff650dbc8a96dbc0bb76586103 (patch) | |
tree | 73c0a187b096c57176913821710a6a160962e94d /nomad/postgres-amd64.hcl | |
parent | 5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6 (diff) | |
download | infrastructure-775bab3735c6d8ff650dbc8a96dbc0bb76586103.tar.gz infrastructure-775bab3735c6d8ff650dbc8a96dbc0bb76586103.zip |
Start using preemption
Diffstat (limited to 'nomad/postgres-amd64.hcl')
-rw-r--r-- | nomad/postgres-amd64.hcl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nomad/postgres-amd64.hcl b/nomad/postgres-amd64.hcl index 0a6369a..456156e 100644 --- a/nomad/postgres-amd64.hcl +++ b/nomad/postgres-amd64.hcl @@ -1,11 +1,7 @@ -job "dbx86" { +job "postgres" { datacenters = ["dc1"] type = "system" - - constraint { - attribute = "${attr.cpu.arch}" - value = "amd64" - } + priority = 90 update { max_parallel = 1 |