Add job constraints
This commit is contained in:
parent
b72c476834
commit
fa356847d3
4 changed files with 20 additions and 0 deletions
|
@ -3,6 +3,11 @@ job "freshrss" {
|
||||||
region = "global"
|
region = "global"
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${meta.storage_optimized}"
|
||||||
|
value = "true"
|
||||||
|
}
|
||||||
|
|
||||||
update {
|
update {
|
||||||
stagger = "30s"
|
stagger = "30s"
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
|
|
|
@ -3,6 +3,11 @@ job "gitea" {
|
||||||
region = "global"
|
region = "global"
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${meta.storage_optimized}"
|
||||||
|
value = "true"
|
||||||
|
}
|
||||||
|
|
||||||
update {
|
update {
|
||||||
stagger = "30s"
|
stagger = "30s"
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
|
|
|
@ -3,6 +3,11 @@ job "nextcloud" {
|
||||||
region = "global"
|
region = "global"
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${meta.storage_optimized}"
|
||||||
|
value = "true"
|
||||||
|
}
|
||||||
|
|
||||||
update {
|
update {
|
||||||
stagger = "30s"
|
stagger = "30s"
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
|
|
|
@ -3,6 +3,11 @@ job "radicale" {
|
||||||
region = "global"
|
region = "global"
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${meta.storage_optimized}"
|
||||||
|
value = "true"
|
||||||
|
}
|
||||||
|
|
||||||
update {
|
update {
|
||||||
stagger = "30s"
|
stagger = "30s"
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
|
|
Loading…
Reference in a new issue