Skip to content
Snippets Groups Projects
Verified Commit 36f3c097 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(jellyfin): Adjust deployment

parent dc9eb971
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ metadata: ...@@ -7,6 +7,8 @@ metadata:
app.kubernetes.io/name: jellyfin app.kubernetes.io/name: jellyfin
app.kubernetes.io/component: jellyfin app.kubernetes.io/component: jellyfin
spec: spec:
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: jellyfin app.kubernetes.io/name: jellyfin
...@@ -45,9 +47,12 @@ spec: ...@@ -45,9 +47,12 @@ spec:
- containerPort: 8096 - containerPort: 8096
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- mountPath: /data/media/movies
name: movies
readOnly: True
- mountPath: /data/media - mountPath: /data/media
name: media name: media
readOnly: True readOnly: False
- mountPath: /config - mountPath: /config
name: jellyfin-config name: jellyfin-config
- mountPath: /cache - mountPath: /cache
...@@ -63,6 +68,9 @@ spec: ...@@ -63,6 +68,9 @@ spec:
cpu: "1" cpu: "1"
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- name: movies
persistentVolumeClaim:
claimName: jellyfin-movies
- name: media - name: media
persistentVolumeClaim: persistentVolumeClaim:
claimName: media claimName: media
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment