integrate jellyfin with external-dns + nfs updates

This commit is contained in:
Ibrahim Mkusa 2025-01-01 12:31:38 -05:00
parent be9b3994a7
commit 50c0bc1e79
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1 @@
make sure `nfs-common` package is installed on all nodes

View File

@ -34,11 +34,23 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /media - mountPath: /media
name: media-vol name: media-vol
- mountPath: /media1
name: media-vol1
- mountPath: /media2
name: media-vol2
volumes: volumes:
- name: media-vol - name: media-vol
nfs: nfs:
server: 192.168.0.106 server: 192.168.0.106
path: /exports/nfs_share/media1 path: /exports/nfs_share/media1
- name: media-vol1
nfs:
server: 192.168.0.106
path: /exports/nfs_share/media2
- name: media-vol2
nfs:
server: 192.168.0.106
path: /exports/nfs_share/media3
status: {} status: {}
--- ---
apiVersion: v1 apiVersion: v1
@ -47,11 +59,13 @@ metadata:
creationTimestamp: null creationTimestamp: null
labels: labels:
app: jellyfin app: jellyfin
annotations:
external-dns.alpha.kubernetes.io/hostname: jellyfin.homelab.local
name: jellyfin name: jellyfin
namespace: media namespace: media
spec: spec:
ports: ports:
- port: 8096 - port: 80 # tired of typing the port address every time
protocol: TCP protocol: TCP
targetPort: 8096 targetPort: 8096
selector: selector: