Add job constraints

This commit is contained in:
Amarpreet Minhas 2021-07-29 23:51:21 -04:00
parent b72c476834
commit fa356847d3
4 changed files with 20 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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