nodepools
This commit is contained in:
@@ -7,6 +7,7 @@ variable "datacenters" {
|
||||
|
||||
job "plugin-nfs-nodes" {
|
||||
datacenters = var.datacenters
|
||||
node_pool = "all"
|
||||
|
||||
type = "system"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ job "traefik" {
|
||||
region = "global"
|
||||
datacenters = ["nummer5"]
|
||||
type = "system"
|
||||
node_pool = "all"
|
||||
|
||||
group "traefik" {
|
||||
#count = 5
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
job "apt-cacher-ng" {
|
||||
datacenters = ["nummer5"]
|
||||
node_pool = "sys"
|
||||
#node_pool = "sys"
|
||||
group "system" {
|
||||
count = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ job "dmarc" {
|
||||
]
|
||||
type = "service"
|
||||
node_pool = "apps"
|
||||
|
||||
group "apps" {
|
||||
count = 1
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ job "docker-registry-ui" {
|
||||
"nummer5",
|
||||
]
|
||||
type = "service"
|
||||
node_pool = "apps"
|
||||
|
||||
group "apps" {
|
||||
count = 1
|
||||
|
||||
@@ -3,7 +3,7 @@ job "drone" {
|
||||
"nummer5",
|
||||
]
|
||||
type = "service"
|
||||
node_pool = "sys"
|
||||
node_pool = "apps"
|
||||
|
||||
group "apps" {
|
||||
count = 1
|
||||
|
||||
@@ -94,4 +94,4 @@ job "gitea" {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
job "postgres" {
|
||||
datacenters = ["nummer5"]
|
||||
type = "service"
|
||||
node_pool = "sys"
|
||||
#node_pool = "sys"
|
||||
|
||||
group "service" {
|
||||
count = 1
|
||||
@@ -70,4 +70,4 @@ job "postgres" {
|
||||
auto_revert = false
|
||||
canary = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
job "redis" {
|
||||
datacenters = ["nummer5"]
|
||||
node_pool = "sys"
|
||||
node_pool = "apps"
|
||||
|
||||
group "cache" {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user