mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 07:10:14 +00:00
Have to figure out PCI/GPU passthrough in Proxmox before it's turned on again
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: jellyfin
|
|
name: jellyfin
|
|
namespace: jellyfin
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: jellyfin
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: jellyfin
|
|
spec:
|
|
containers:
|
|
- name: jellyfin
|
|
image: lscr.io/linuxserver/jellyfin:latest
|
|
imagePullPolicy: Always
|
|
envFrom:
|
|
- configMapRef:
|
|
name: jellyfin-env
|
|
ports:
|
|
- name: http
|
|
containerPort: 8096
|
|
resources:
|
|
requests:
|
|
cpu: 2000m
|
|
memory: 6Gi
|
|
limits:
|
|
cpu: 10000m
|
|
memory: 12Gi
|
|
# nvidia.com/gpu: "1"
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: media
|
|
mountPath: /media
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: jellyfin-config-pvc
|
|
- name: media
|
|
persistentVolumeClaim:
|
|
claimName: jellyfin-media-pvc
|