priorities for jobs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-25 19:48:27 +01:00
parent 65a3a44ea8
commit d6dac9bd5c
10 changed files with 15 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ variable "datacenters" {
job "plugin-nfs-controller" {
datacenters = var.datacenters
node_pool = "sys"
priority = 100
group "controller" {
task "plugin" {

View File

@@ -8,7 +8,7 @@ variable "datacenters" {
job "plugin-nfs-nodes" {
datacenters = var.datacenters
node_pool = "all"
priority = 100
type = "system"
group "nodes" {
@@ -40,4 +40,4 @@ job "plugin-nfs-nodes" {
}
}
}
}
}

View File

@@ -3,6 +3,7 @@ job "traefik" {
datacenters = ["nummer5"]
type = "system"
node_pool = "all"
priority = 100
group "traefik" {
#count = 5

View File

@@ -1,7 +1,9 @@
job "apt-cacher-ng" {
datacenters = ["nummer5"]
#node_pool = "sys"
node_pool = "sys"
priority = 90
group "system" {
count = 1

View File

@@ -4,7 +4,7 @@ job "dmarc" {
]
type = "service"
node_pool = "apps"
priority = 20
group "apps" {
count = 1

View File

@@ -4,6 +4,7 @@ job "drone" {
]
type = "service"
node_pool = "apps"
priority = 30
group "apps" {
count = 1

View File

@@ -4,6 +4,7 @@ job "gitea" {
]
type = "service"
node_pool = "apps"
priority = 79
group "apps" {
count = 1

View File

@@ -1,7 +1,8 @@
job "homer" {
datacenters = ["nummer5"]
node_pool = "apps"
priority = 80
group "apps" {
count = 1

View File

@@ -1,7 +1,8 @@
job "openwrt" {
datacenters = ["nummer5"]
node_pool = "apps"
priority = 10
group "apps" {
count = 1

View File

@@ -2,6 +2,7 @@ job "postgres" {
datacenters = ["nummer5"]
type = "service"
node_pool = "sys"
priority = 80
group "service" {
count = 1