shuffeling apps around the cluster

This commit is contained in:
2025-02-10 17:33:25 +01:00
parent fe8f8748df
commit 68bd782c14
6 changed files with 15 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ job "docker-registry-ui" {
"nummer5",
]
type = "service"
node_pool = "apps"
node_pool = "sys"
group "apps" {
count = 1

View File

@@ -3,7 +3,7 @@ job "drone-runner" {
"nummer5",
]
type = "service"
node_pool = "apps"
node_pool = "sys"
group "apps" {
count = 1
@@ -77,8 +77,8 @@ job "drone-runner" {
}
resources {
cpu = 300
memory = 500
cpu = 2000
memory = 1024
}
}

View File

@@ -10,7 +10,7 @@ capability {
}
context {
server = "ebin02.wks"
server = "ebin01.wks"
share = "/data/raid1-ssd/app-data/drone-data"
mountPermissions = "0"
}

View File

@@ -10,7 +10,7 @@ capability {
}
context {
server = "ebin02.wks"
server = "ebin01.wks"
share = "/data/raid1-ssd/app-data/gitea-data"
mountPermissions = "0"
}

View File

@@ -1,6 +1,6 @@
job "openwrt" {
datacenters = ["nummer5"]
node_pool = "apps"
node_pool = "sys"
priority = 10
group "apps" {

View File

@@ -3,7 +3,12 @@ job "postgres" {
type = "service"
node_pool = "sys"
priority = 80
#constraint {
# attribute = "${attr.unique.hostname}"
# value = "pine01"
#}
group "service" {
count = 1
volume "postgres-data" {
@@ -49,8 +54,8 @@ job "postgres" {
}
resources {
cpu = 1000
memory = 512
cpu = 3500
memory = 1500
}