Move prometheus to zippy.

This commit is contained in:
2025-10-22 14:29:57 +01:00
parent c80a2c9a58
commit 17c0f2db2a

View File

@@ -10,6 +10,13 @@ job "prometheus" {
group "monitoring" {
count = 1
# Run on primary storage node (zippy) for local disk performance
# TODO: move to fractal once it's converted to NixOS (spinning disks OK for time-series data)
constraint {
attribute = "${meta.storage_role}"
value = "primary"
}
network {
port "http" {
#host_network = "tailscale"
@@ -37,7 +44,7 @@ job "prometheus" {
volumes = [
"local/alerts.yml:/prometheus/alerts.yml",
"local/prometheus.yml:/prometheus/prometheus.yml",
"/data/compute/appdata/prometheus:/opt/prometheus",
"/data/services/prometheus:/opt/prometheus",
]
}