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"]
|
access_modes = ["ReadWriteOnce"]
|
||||||
persistent_volume_source {
|
persistent_volume_source {
|
||||||
iscsi {
|
nfs {
|
||||||
target_portal = "iscsi.viktorbarzin.lan:3260"
|
path = "/mnt/main/grafana"
|
||||||
iqn = "iqn.2020-12.lan.viktorbarzin:storage:monitoring:grafana"
|
server = "10.0.10.15"
|
||||||
lun = 0
|
|
||||||
fs_type = "ext4"
|
|
||||||
}
|
}
|
||||||
|
# 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