2024-11-17 13:49:04 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Namespace
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
name: media
|
|
|
|
spec: {}
|
|
|
|
status: {}
|
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
labels:
|
|
|
|
app: jellyfin
|
|
|
|
name: jellyfin
|
|
|
|
namespace: media
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: jellyfin
|
|
|
|
strategy: {}
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
labels:
|
|
|
|
app: jellyfin
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- image: jellyfin/jellyfin:latest
|
|
|
|
name: jellyfin
|
|
|
|
resources: {}
|
2024-11-17 17:33:11 +00:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /media
|
|
|
|
name: media-vol
|
|
|
|
volumes:
|
|
|
|
- name: media-vol
|
|
|
|
nfs:
|
|
|
|
server: 192.168.0.106
|
|
|
|
path: /exports/nfs_share/media1
|
2024-11-17 13:49:04 +00:00
|
|
|
status: {}
|
2024-11-17 18:04:41 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
labels:
|
|
|
|
app: jellyfin
|
|
|
|
name: jellyfin
|
|
|
|
namespace: media
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 8096
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: 8096
|
|
|
|
selector:
|
|
|
|
app: jellyfin
|
2024-11-17 18:24:57 +00:00
|
|
|
type: LoadBalancer
|
2024-11-17 18:04:41 +00:00
|
|
|
status:
|
|
|
|
loadBalancer: {}
|