move grafana to nfs [ci skip]
This commit is contained in:
parent
fa445d500b
commit
bd4754b339
2 changed files with 9 additions and 5 deletions
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue