Move prometheus to zippy.
This commit is contained in:
@@ -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",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user