move grafana to nfs [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-11 00:16:58 +00:00
parent fa445d500b
commit bd4754b339
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
2 changed files with 9 additions and 5 deletions

View file

@ -163,12 +163,16 @@ resource "kubernetes_persistent_volume" "prometheus_grafana_pv" {
}
access_modes = ["ReadWriteOnce"]
persistent_volume_source {
iscsi {
target_portal = "iscsi.viktorbarzin.lan:3260"
iqn = "iqn.2020-12.lan.viktorbarzin:storage:monitoring:grafana"
lun = 0
fs_type = "ext4"
nfs {
path = "/mnt/main/grafana"
server = "10.0.10.15"
}
# iscsi {
# target_portal = "iscsi.viktorbarzin.lan:3260"
# iqn = "iqn.2020-12.lan.viktorbarzin:storage:monitoring:grafana"
# lun = 0
# fs_type = "ext4"
# }
}
}
}

Binary file not shown.