summaryrefslogtreecommitdiff
path: root/data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-08-04 08:40:39 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-08-04 08:40:39 +0200
commit3cd561677f39fad3a02820106ba0d340efe6aac1 (patch)
tree3af85cd6a6384d5514f62406f2172ad2b0eb0e0c /data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml
parent4fcd0741940a7f6316e1fb71ede6624c5359c39e (diff)
Rename oolah.tyil.net k3s cluster to tyilnet
This is an actual cluster now, after all, not a single node deployment like the other k3s-master instances, which will most likely all be taken out of order with time.
Diffstat (limited to 'data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml')
-rw-r--r--data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml93
1 files changed, 93 insertions, 0 deletions
diff --git a/data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml b/data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml
new file mode 100644
index 0000000..5b65b93
--- /dev/null
+++ b/data.d/k3s-master/manifests.d/tyilnet/servarr/jellyfin/deployment.yaml
@@ -0,0 +1,93 @@
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: jellyfin
+ namespace: servarr
+ labels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: jellyfin
+ app.kubernetes.io/part-of: servarr
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: jellyfin
+ app.kubernetes.io/part-of: servarr
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: jellyfin
+ app.kubernetes.io/part-of: servarr
+ spec:
+ nodeName: "mieshu.tyil.net"
+ containers:
+ - image: jellyfin/jellyfin
+ name: jellyfin
+ ports:
+ - containerPort: 8096
+ volumeMounts:
+ - mountPath: /var/media/anime-movies
+ name: anime-movies
+ readOnly: true
+ - mountPath: /var/media/anime-series
+ name: anime-series
+ readOnly: true
+ - mountPath: /var/media/books
+ name: books
+ readOnly: true
+ - mountPath: /var/media/movies
+ name: movies
+ readOnly: true
+ - mountPath: /var/media/music
+ name: music
+ readOnly: true
+ - mountPath: /var/media/series
+ name: series
+ readOnly: true
+ - mountPath: /config
+ name: config
+ - mountPath: /cache
+ name: cache
+ restartPolicy: Always
+ volumes:
+ - name: anime-movies
+ hostPath:
+ path: /mnt/pool/media/anime-movies/exported
+ type: Directory
+ - name: anime-series
+ hostPath:
+ path: /mnt/pool/media/anime-series/exported
+ type: Directory
+ - name: books
+ hostPath:
+ path: /mnt/pool/media/books/exported
+ type: Directory
+ - name: movies
+ hostPath:
+ path: /mnt/pool/media/movies/exported
+ type: Directory
+ - name: music
+ hostPath:
+ path: /mnt/pool/media/music/exported
+ type: Directory
+ - name: series
+ hostPath:
+ path: /mnt/pool/media/series/exported
+ type: Directory
+ - name: cache
+ hostPath:
+ path: /var/cache/jellyfin
+ type: Directory
+ - name: config
+ hostPath:
+ path: /etc/servarr/jellyfin
+ type: Directory
+...