Skip to content

Commit

Permalink
apps/photos: mount old photo library
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed May 6, 2024
1 parent 9efe232 commit c94746d
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/photos/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ resources:
- namespace.yaml
- repository.yaml
- release.yaml
- library-old-pv.yaml
- library-old-pvc.yaml
- library-pv.yaml
- library-pvc.yaml
- postgres-backup.yaml
Expand Down
16 changes: 16 additions & 0 deletions apps/photos/library-old-pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is listed here for future use. It is not used in the current, evaluation setup.
apiVersion: v1
kind: PersistentVolume
metadata:
name: library-old
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 500Gi
nfs:
path: /Multimedia
server: 192.168.2.29
persistentVolumeReclaimPolicy: Retain
storageClassName: manual
volumeMode: Filesystem
12 changes: 12 additions & 0 deletions apps/photos/library-old-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: library-old
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 4000Gi
storageClassName: manual
volumeName: library-old
10 changes: 10 additions & 0 deletions apps/photos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ server:
- secretName: immich-tls
hosts:
- photos.krupa.net.pl
persistence:
old:
enabled: true
mountPath: /old
existingClaim: library-old

microservices:
enabled: true
Expand All @@ -94,6 +99,11 @@ microservices:
memory: 560Mi
limits:
memory: 3Gi
persistence:
old:
enabled: true
mountPath: /old
existingClaim: library-old

machine-learning:
enabled: true
Expand Down

0 comments on commit c94746d

Please sign in to comment.