Move loki to zippy.
This commit is contained in:
@@ -10,6 +10,14 @@ job "loki" {
|
||||
}
|
||||
group "loki" {
|
||||
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 log data)
|
||||
constraint {
|
||||
attribute = "${meta.storage_role}"
|
||||
value = "primary"
|
||||
}
|
||||
|
||||
restart {
|
||||
attempts = 3
|
||||
interval = "5m"
|
||||
@@ -31,7 +39,7 @@ job "loki" {
|
||||
"local/loki/local-config.yaml",
|
||||
]
|
||||
ports = ["loki"]
|
||||
volumes = ["/data/compute/appdata/loki:/loki"]
|
||||
volumes = ["/data/services/loki:/loki"]
|
||||
}
|
||||
template {
|
||||
data = <<EOH
|
||||
|
||||
Reference in New Issue
Block a user