feat(jellyfin): request intel gpu

This commit is contained in:
SeanOMik 2024-08-14 16:24:36 -04:00
parent dbb9385ce7
commit 924c433a47
1 changed files with 43 additions and 36 deletions

View File

@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
@ -8,63 +9,69 @@ spec:
chart:
spec:
chart: app-template
version: 1.3.x
version: 3.3.2
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: linuxserver/jellyfin
tag: "10.9.9"
controllers:
main:
containers:
app:
image:
repository: linuxserver/jellyfin
tag: 10.9.9
podLabels:
needsAuthentik: "yes"
env:
PUID: 10000
PGID: 10000
TZ: America/New_York
env:
PUID: 10000
PGID: 10000
TZ: America/New_York
resources:
# requests:
# cpu: 100m
limits:
gpu.intel.com/i915: 1
memory: 16Gi
defaultPodOptions:
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
service:
main:
app:
controller: main
ports:
http:
port: 8096
ingress:
main:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: &host "watch.${SECRET_NEW_DOMAIN}"
- host: "watch.${SECRET_NEW_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
service:
identifier: app
port: http
persistence:
config:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/jellyfin
mountPath: /config
globalMounts:
- path: /config
storage:
enabled: true
media:
type: hostPath
hostPath: /mnt/MainPool/Media/Media
mountPath: /storage/Media
resources:
requests:
cpu: 3m
memory: 1500Mi
limits:
memory: 4000Mi
globalMounts:
- path: /storage/Media
readOnly: true