From 6e0af8725b6b22822151a7fb0939771fb33372cf Mon Sep 17 00:00:00 2001 From: William P Date: Sun, 9 Mar 2025 19:20:06 -0400 Subject: [PATCH] emby: add resilio sync --- emby/resilio-pvc.yaml | 12 ++++++++++++ emby/resilio-sync.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 emby/resilio-pvc.yaml create mode 100644 emby/resilio-sync.yaml diff --git a/emby/resilio-pvc.yaml b/emby/resilio-pvc.yaml new file mode 100644 index 0000000..8dca22d --- /dev/null +++ b/emby/resilio-pvc.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: resilio-pvc +spec: + storageClassName: weyma-shared + resources: + requests: + storage: 10Gi + volumeMode: Filesystem + accessModes: + - ReadWriteOnce diff --git a/emby/resilio-sync.yaml b/emby/resilio-sync.yaml new file mode 100644 index 0000000..eea4630 --- /dev/null +++ b/emby/resilio-sync.yaml @@ -0,0 +1,39 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: resilio-sync +spec: + selector: + matchLabels: + app: resilio-sync + template: + metadata: + labels: + app: resilio-sync + spec: + containers: + - name: resilio-sync + image: lscr.io/linuxserver/resilio-sync:3.0.0 + volumeMounts: + - name: config + mountPath: /config + - name: tv-shows + mountPath: /sync/tv-shows + - name: movies + mountPath: /sync/movies + resources: + limits: + memory: "128Mi" + cpu: "500m" + volumes: + - name: config + persistentVolumeClaim: + claimName: resilio-pvc + - name: tv-shows + nfs: + server: 10.105.15.20 + path: /mnt/hdd-pool/tv-shows + - name: movies + nfs: + server: 10.105.15.20 + path: /mnt/hdd-pool/movies \ No newline at end of file