removed rsync & rsync-web from immich-server
This commit is contained in:
@@ -121,48 +121,6 @@ spec:
|
||||
memory: 512Mi
|
||||
limits:
|
||||
memory: 4Gi
|
||||
# one-shot migration copy from the old NAS-hosted docker install
|
||||
# into this install's own volumes (see "persistence" below).
|
||||
# rsync is idempotent, so a pod restart mid-copy just resumes
|
||||
# cleanly; once done it sleeps forever instead of exiting, so the
|
||||
# container doesn't restart-loop and the status page stays up.
|
||||
# (starts after all initContainers - fix-permissions and the
|
||||
# mergerfs sidecar's startupProbe - complete, same as "app")
|
||||
rsync:
|
||||
image:
|
||||
repository: python
|
||||
tag: 3.13-alpine
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- apk add --no-cache rsync >/dev/null && python3 /app/rsync.py
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
rsync-web:
|
||||
image:
|
||||
repository: nginx
|
||||
tag: 1.27-alpine
|
||||
probes:
|
||||
# explicit port: this controller has two services (app:2283,
|
||||
# rsync-web:80) and probe auto-detection picks the
|
||||
# controller's primary service port rather than this
|
||||
# container's own - without this it checks the wrong port.
|
||||
liveness:
|
||||
enabled: true
|
||||
port: 80
|
||||
readiness:
|
||||
enabled: true
|
||||
port: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 16Mi
|
||||
limits:
|
||||
memory: 64Mi
|
||||
|
||||
service:
|
||||
app:
|
||||
@@ -170,11 +128,6 @@ spec:
|
||||
ports:
|
||||
http:
|
||||
port: 2283
|
||||
rsync-web:
|
||||
controller: server
|
||||
ports:
|
||||
http:
|
||||
port: 80
|
||||
|
||||
ingress:
|
||||
app:
|
||||
@@ -193,22 +146,6 @@ spec:
|
||||
- secretName: immich-tls
|
||||
hosts:
|
||||
- photo.aggtaa.com
|
||||
rsync-web:
|
||||
className: traefik
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
hosts:
|
||||
- host: rsync.photo.aggtaa.com
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
service:
|
||||
identifier: rsync-web
|
||||
port: http
|
||||
tls:
|
||||
- secretName: immich-rsync-tls
|
||||
hosts:
|
||||
- rsync.photo.aggtaa.com
|
||||
|
||||
persistence:
|
||||
# Immich's "library" folder, mergerfs-merged from two disks: recent
|
||||
@@ -229,8 +166,6 @@ spec:
|
||||
- path: /disks/library-recent
|
||||
fix-permissions:
|
||||
- path: /disks/library-recent
|
||||
rsync:
|
||||
- path: /disks/library-recent
|
||||
library-archive:
|
||||
type: persistentVolumeClaim
|
||||
accessMode: ReadWriteOnce
|
||||
@@ -243,8 +178,6 @@ spec:
|
||||
- path: /disks/library-archive
|
||||
fix-permissions:
|
||||
- path: /disks/library-archive
|
||||
rsync:
|
||||
- path: /disks/library-archive
|
||||
merged-library:
|
||||
type: emptyDir
|
||||
advancedMounts:
|
||||
@@ -274,30 +207,3 @@ spec:
|
||||
server:
|
||||
app:
|
||||
- path: /data
|
||||
rsync:
|
||||
- path: /data
|
||||
nas-source:
|
||||
type: persistentVolumeClaim
|
||||
existingClaim: immich-nas-source
|
||||
advancedMounts:
|
||||
server:
|
||||
rsync:
|
||||
- path: /source
|
||||
readOnly: true
|
||||
rsync-script:
|
||||
type: configMap
|
||||
name: immich-rsync-script
|
||||
advancedMounts:
|
||||
server:
|
||||
rsync:
|
||||
- path: /app/rsync.py
|
||||
subPath: rsync.py
|
||||
readOnly: true
|
||||
rsync-www:
|
||||
type: emptyDir
|
||||
advancedMounts:
|
||||
server:
|
||||
rsync:
|
||||
- path: /www
|
||||
rsync-web:
|
||||
- path: /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user