Start using preemption
This commit is contained in:
parent
5e83c8e5fe
commit
775bab3735
2 changed files with 3 additions and 7 deletions
|
@ -1,11 +1,7 @@
|
||||||
job "dbx86" {
|
job "postgres" {
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
type = "system"
|
type = "system"
|
||||||
|
priority = 90
|
||||||
constraint {
|
|
||||||
attribute = "${attr.cpu.arch}"
|
|
||||||
value = "amd64"
|
|
||||||
}
|
|
||||||
|
|
||||||
update {
|
update {
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
|
|
|
@ -39,7 +39,7 @@ job "seafile" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
memory = 2048
|
memory = 512
|
||||||
network {
|
network {
|
||||||
port "seahub_port" {}
|
port "seahub_port" {}
|
||||||
port "seafhttp_port" {}
|
port "seafhttp_port" {}
|
||||||
|
|
Reference in a new issue