emby: add resilio sync
This commit is contained in:
12
emby/resilio-pvc.yaml
Normal file
12
emby/resilio-pvc.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: resilio-pvc
|
||||||
|
spec:
|
||||||
|
storageClassName: weyma-shared
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
39
emby/resilio-sync.yaml
Normal file
39
emby/resilio-sync.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user