Switch to host volumes. Grafana not working yet.
This commit is contained in:
@@ -8,11 +8,9 @@ job "grafana" {
|
||||
}
|
||||
}
|
||||
|
||||
volume "data-volume" {
|
||||
type = "csi"
|
||||
source = "grafana-data"
|
||||
access_mode = "single-node-writer"
|
||||
attachment_mode = "file-system"
|
||||
volume "appdata" {
|
||||
type = "host"
|
||||
source = "appdata-grafana"
|
||||
}
|
||||
|
||||
task "grafana" {
|
||||
@@ -29,7 +27,7 @@ job "grafana" {
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
volume = "data-volume"
|
||||
volume = "appdata"
|
||||
destination = "/var/lib/grafana"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user