integrate jellyfin with external-dns + nfs updates
This commit is contained in:
parent
be9b3994a7
commit
50c0bc1e79
1
manifests/jellyfin/README.md
Normal file
1
manifests/jellyfin/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
make sure `nfs-common` package is installed on all nodes
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user