use smb instead of nfs for immich-pictures-pv
This commit is contained in:
@@ -17,21 +17,28 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
kind: PersistentVolume
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
|
||||||
name: immich-pictures-pv
|
name: immich-pictures-pv
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
capacity:
|
capacity:
|
||||||
storage: 20Gi
|
storage: 100Gi
|
||||||
volumeMode: Filesystem
|
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: immich-pictures-pv
|
||||||
mountOptions:
|
mountOptions:
|
||||||
- hard
|
- dir_mode=0777
|
||||||
- nfsvers=4.1
|
- file_mode=0777
|
||||||
nfs:
|
csi:
|
||||||
path: /pictures
|
driver: smb.csi.k8s.io
|
||||||
server: 10.0.0.123
|
volumeHandle: 10.0.0.123#pictures#immich
|
||||||
|
volumeAttributes:
|
||||||
|
source: //10.0.0.123/pictures
|
||||||
|
nodeStageSecretRef:
|
||||||
|
name: smb-creds
|
||||||
|
namespace: default
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -46,4 +53,4 @@ spec:
|
|||||||
volumeName: immich-pictures-pv
|
volumeName: immich-pictures-pv
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 20Gi
|
storage: 100Gi
|
||||||
|
|||||||
Reference in New Issue
Block a user