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"
|
||||
type = "service"
|
||||
|
||||
constraint {
|
||||
attribute = "${meta.storage_optimized}"
|
||||
value = "true"
|
||||
}
|
||||
|
||||
update {
|
||||
stagger = "30s"
|
||||
max_parallel = 1
|
||||
|
|
|
@ -3,6 +3,11 @@ job "gitea" {
|
|||
region = "global"
|
||||
type = "service"
|
||||
|
||||
constraint {
|
||||
attribute = "${meta.storage_optimized}"
|
||||
value = "true"
|
||||
}
|
||||
|
||||
update {
|
||||
stagger = "30s"
|
||||
max_parallel = 1
|
||||
|
|
|
@ -3,6 +3,11 @@ job "nextcloud" {
|
|||
region = "global"
|
||||
type = "service"
|
||||
|
||||
constraint {
|
||||
attribute = "${meta.storage_optimized}"
|
||||
value = "true"
|
||||
}
|
||||
|
||||
update {
|
||||
stagger = "30s"
|
||||
max_parallel = 1
|
||||
|
|
|
@ -3,6 +3,11 @@ job "radicale" {
|
|||
region = "global"
|
||||
type = "service"
|
||||
|
||||
constraint {
|
||||
attribute = "${meta.storage_optimized}"
|
||||
value = "true"
|
||||
}
|
||||
|
||||
update {
|
||||
stagger = "30s"
|
||||
max_parallel = 1
|
||||
|
|
Loading…
Reference in a new issue