move mailserver to nfs [ci skip]
This commit is contained in:
parent
5fa0c93f00
commit
4cfdc11de3
1 changed files with 9 additions and 5 deletions
|
|
@ -354,12 +354,16 @@ resource "kubernetes_deployment" "mailserver" {
|
||||||
}
|
}
|
||||||
volume {
|
volume {
|
||||||
name = "data"
|
name = "data"
|
||||||
iscsi {
|
nfs {
|
||||||
target_portal = "iscsi.viktorbarzin.lan:3260"
|
path = "/mnt/main/mailserver"
|
||||||
iqn = "iqn.2020-12.lan.viktorbarzin:storage:mailserver"
|
server = "10.0.10.15"
|
||||||
lun = 0
|
|
||||||
fs_type = "ext4"
|
|
||||||
}
|
}
|
||||||
|
# iscsi {
|
||||||
|
# target_portal = "iscsi.viktorbarzin.lan:3260"
|
||||||
|
# iqn = "iqn.2020-12.lan.viktorbarzin:storage:mailserver"
|
||||||
|
# lun = 0
|
||||||
|
# fs_type = "ext4"
|
||||||
|
# }
|
||||||
}
|
}
|
||||||
# volume {
|
# volume {
|
||||||
# name = "user-patches"
|
# name = "user-patches"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue