Compare commits

...

2 Commits

Author SHA1 Message Date
1c24642405 lesser resources for nfs stuff
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-17 11:38:59 +01:00
16d9406d29 mqtt exporter for prometheus 2024-01-17 11:38:48 +01:00
4 changed files with 44 additions and 6 deletions

View File

@@ -30,8 +30,8 @@ job "plugin-nfs-controller" {
}
resources {
cpu = 250
memory = 128
cpu = 50
memory = 15
}
}
}

View File

@@ -34,8 +34,8 @@ job "plugin-nfs-nodes" {
}
resources {
cpu = 250
memory = 128
cpu = 50
memory = 10
}
}
}

View File

@@ -51,8 +51,8 @@ job "drone-runner" {
}
resources {
cpu = 100
memory = 64
cpu = 300
memory = 1500
}
}

View File

@@ -0,0 +1,38 @@
job "mosquitto-prometheus-exporter" {
datacenters = ["nummer5"]
group "apps" {
count = 1
network {
port "http"{
to = 9234
}
}
service {
name = "mosquitto-prometheus-exporter"
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.mosquitto-pormetheus-exporter.rule=Host(`mosquitto-prometheus-exporter.service.nr5`)",
]
}
task "server" {
driver = "podman"
config {
image = "cr.wks/mosquitto-prometheus-exporter"
ports = ["http"]
force_pull = true
args = [
"--endpoint", "tcp://mqtt.wks:1883"
]
}
}
}
}