nfs-photo

This commit is contained in:
azykov@mail.ru
2026-08-15 17:27:07 +03:00
parent e4043fe4c9
commit d59897dc5c
9 changed files with 305 additions and 1 deletions
@@ -90,6 +90,11 @@ spec:
existingClaim: ganesha-export
globalMounts:
- path: /webdav/export
photo:
type: persistentVolumeClaim
existingClaim: nfs-photo-export
globalMounts:
- path: /webdav/photo
sda2:
type: persistentVolumeClaim
existingClaim: nas1-sda2
@@ -36,6 +36,42 @@ spec:
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs-photo-export-nfs
spec:
capacity:
storage: 200Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: ""
mountOptions:
- nfsvers=4.1
nfs:
server: nfs-photo.nfs.svc.cluster.local
path: /export
claimRef:
namespace: webdav
name: nfs-photo-export
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nfs-photo-export
namespace: webdav
annotations:
helm.sh/resource-policy: keep
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
volumeName: nfs-photo-export-nfs
resources:
requests:
storage: 200Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: nas1-sda2-nfs
spec: