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 apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@ -8,63 +9,69 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.3.x version: 3.3.2
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjws-charts name: bjws-charts
namespace: flux-system namespace: flux-system
values: values:
image: controllers:
repository: linuxserver/jellyfin
tag: "10.9.9"
podLabels:
needsAuthentik: "yes"
env:
PUID: 10000
PGID: 10000
TZ: America/New_York
service:
main: main:
containers:
app:
image:
repository: linuxserver/jellyfin
tag: 10.9.9
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:
app:
controller: main
ports: ports:
http: http:
port: 8096 port: 8096
ingress: ingress:
main: main:
enabled: true
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts: hosts:
- host: &host "watch.${SECRET_NEW_DOMAIN}" - host: "watch.${SECRET_NEW_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix service:
tls: identifier: app
- hosts: port: http
- *host
persistence: persistence:
config: config:
enabled: true
type: hostPath type: hostPath
hostPath: /mnt/MainPool/Kubernetes/jellyfin hostPath: /mnt/MainPool/Kubernetes/jellyfin
mountPath: /config globalMounts:
- path: /config
storage:
enabled: true media:
type: hostPath type: hostPath
hostPath: /mnt/MainPool/Media/Media hostPath: /mnt/MainPool/Media/Media
mountPath: /storage/Media globalMounts:
- path: /storage/Media
resources: readOnly: true
requests:
cpu: 3m
memory: 1500Mi
limits:
memory: 4000Mi