run a bunch of things on new Origan node
This commit is contained in:
parent
578075a925
commit
dca2e53442
6 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
job "core-service" {
|
||||
datacenters = ["neptune"]
|
||||
datacenters = ["neptune", "jupiter"]
|
||||
type = "service"
|
||||
priority = 90
|
||||
|
||||
|
@ -11,7 +11,7 @@ job "core-service" {
|
|||
|
||||
config {
|
||||
packages = [
|
||||
"git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=b26d4d7bbad7c77f466a00f0bd21e7e4ea09c3b1"
|
||||
"git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=5731ad022b62564d1364cb1928d261dac04f8914"
|
||||
]
|
||||
command = "d53"
|
||||
}
|
||||
|
|
|
@ -91,7 +91,7 @@ EOH
|
|||
user = "root"
|
||||
|
||||
resources {
|
||||
cpu = 2000
|
||||
cpu = 1000
|
||||
memory = 200
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "directory" {
|
||||
datacenters = ["dc1", "neptune"]
|
||||
datacenters = ["neptune", "jupiter"]
|
||||
type = "service"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ job "garage-staging" {
|
|||
type = "system"
|
||||
priority = 90
|
||||
|
||||
datacenters = [ "neptune" ]
|
||||
datacenters = [ "neptune", "jupiter" ]
|
||||
|
||||
update {
|
||||
max_parallel = 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "telemetry-system" {
|
||||
datacenters = ["neptune"]
|
||||
datacenters = ["neptune", "jupiter"]
|
||||
type = "system"
|
||||
priority = "100"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "telemetry" {
|
||||
datacenters = ["neptune"]
|
||||
datacenters = ["neptune", "jupiter"]
|
||||
type = "service"
|
||||
|
||||
group "prometheus" {
|
||||
|
@ -14,7 +14,7 @@ job "telemetry" {
|
|||
constraint {
|
||||
attribute = "${attr.unique.hostname}"
|
||||
operator = "set_contains_any"
|
||||
value = "cariacou,carcajou"
|
||||
value = "cariacou,origan"
|
||||
}
|
||||
|
||||
task "prometheus" {
|
||||
|
|
Loading…
Reference in a new issue