running cluster with immich, photoprism and authentik
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: mariadb-pv
|
||||
name: mariadb-db-pv
|
||||
namespace: photoprism
|
||||
labels:
|
||||
app: photoprism-mariadb
|
||||
spec:
|
||||
capacity:
|
||||
storage: 50Gi
|
||||
storage: 20Gi # Adjust the storage size as needed
|
||||
storageClassName: nfs
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain # Optional: verhindert, dass K8s dein Share löscht
|
||||
storageClassName: local-path
|
||||
hostPath:
|
||||
path: /slowData/photoprismDB
|
||||
- ReadWriteMany
|
||||
nfs:
|
||||
path: /fastData/photoprismDB # Static path on the NFS server
|
||||
server: 192.168.178.166 # Your NFS server's IP
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
|
||||
Reference in New Issue
Block a user