This commit is contained in:
@@ -8,6 +8,7 @@ variable "datacenters" {
|
|||||||
job "plugin-nfs-controller" {
|
job "plugin-nfs-controller" {
|
||||||
datacenters = var.datacenters
|
datacenters = var.datacenters
|
||||||
node_pool = "sys"
|
node_pool = "sys"
|
||||||
|
priority = 100
|
||||||
|
|
||||||
group "controller" {
|
group "controller" {
|
||||||
task "plugin" {
|
task "plugin" {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ variable "datacenters" {
|
|||||||
job "plugin-nfs-nodes" {
|
job "plugin-nfs-nodes" {
|
||||||
datacenters = var.datacenters
|
datacenters = var.datacenters
|
||||||
node_pool = "all"
|
node_pool = "all"
|
||||||
|
priority = 100
|
||||||
type = "system"
|
type = "system"
|
||||||
|
|
||||||
group "nodes" {
|
group "nodes" {
|
||||||
@@ -40,4 +40,4 @@ job "plugin-nfs-nodes" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ job "traefik" {
|
|||||||
datacenters = ["nummer5"]
|
datacenters = ["nummer5"]
|
||||||
type = "system"
|
type = "system"
|
||||||
node_pool = "all"
|
node_pool = "all"
|
||||||
|
priority = 100
|
||||||
|
|
||||||
group "traefik" {
|
group "traefik" {
|
||||||
#count = 5
|
#count = 5
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
job "apt-cacher-ng" {
|
job "apt-cacher-ng" {
|
||||||
datacenters = ["nummer5"]
|
datacenters = ["nummer5"]
|
||||||
#node_pool = "sys"
|
node_pool = "sys"
|
||||||
|
priority = 90
|
||||||
|
|
||||||
group "system" {
|
group "system" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ job "dmarc" {
|
|||||||
]
|
]
|
||||||
type = "service"
|
type = "service"
|
||||||
node_pool = "apps"
|
node_pool = "apps"
|
||||||
|
priority = 20
|
||||||
group "apps" {
|
group "apps" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ job "drone" {
|
|||||||
]
|
]
|
||||||
type = "service"
|
type = "service"
|
||||||
node_pool = "apps"
|
node_pool = "apps"
|
||||||
|
priority = 30
|
||||||
|
|
||||||
group "apps" {
|
group "apps" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ job "gitea" {
|
|||||||
]
|
]
|
||||||
type = "service"
|
type = "service"
|
||||||
node_pool = "apps"
|
node_pool = "apps"
|
||||||
|
priority = 79
|
||||||
|
|
||||||
group "apps" {
|
group "apps" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
job "homer" {
|
job "homer" {
|
||||||
datacenters = ["nummer5"]
|
datacenters = ["nummer5"]
|
||||||
node_pool = "apps"
|
node_pool = "apps"
|
||||||
|
priority = 80
|
||||||
|
|
||||||
group "apps" {
|
group "apps" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
job "openwrt" {
|
job "openwrt" {
|
||||||
datacenters = ["nummer5"]
|
datacenters = ["nummer5"]
|
||||||
node_pool = "apps"
|
node_pool = "apps"
|
||||||
|
priority = 10
|
||||||
|
|
||||||
group "apps" {
|
group "apps" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ job "postgres" {
|
|||||||
datacenters = ["nummer5"]
|
datacenters = ["nummer5"]
|
||||||
type = "service"
|
type = "service"
|
||||||
node_pool = "sys"
|
node_pool = "sys"
|
||||||
|
priority = 80
|
||||||
|
|
||||||
group "service" {
|
group "service" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user