Files
homelab-v/apps/media/jellyfin/deployment.yaml
T
Vegard Hagen f01b32c878 chore(gpu): Disable GPU for Plex and Jellyfin
Have to figure out PCI/GPU passthrough in Proxmox before it's turned on again
2024-02-17 20:30:03 +01:00

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