Grafana config.

This commit is contained in:
2023-07-10 06:36:41 +01:00
parent e3551c1028
commit 73a61bf18a
2 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
id = "grafana-data"
name = "grafana-data"
type = "csi"
plugin_id = "seaweedfs"
capacity_min = "10GiB"
capacity_max = "20GiB"
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}
# Optional: for 'nomad volume create', specify mount options to validate for
# 'attachment_mode = "file-system". Registering an existing volume will record
# but ignore these fields.
mount_options {
mount_flags = ["rw"]
}
parameters {
# Available options: https://github.com/seaweedfs/seaweedfs-csi-driver/blob/master/pkg/driver/mounter_seaweedfs.go
collection = "appdata"
replication = "001"
path = "/appdata/grafana"
}