move plex to AMD with GPU

This commit is contained in:
gilgamezh
2025-02-16 15:31:50 +01:00
parent 62f0e703de
commit 0e08d89e01
2 changed files with 16 additions and 8 deletions
+15 -5
View File
@@ -19,8 +19,7 @@ rbac:
create: true create: true
nodeSelector: nodeSelector:
beta.kubernetes.io/arch: arm64 beta.kubernetes.io/arch: amd64
persistence: persistence:
transcode: transcode:
@@ -30,14 +29,25 @@ persistence:
config: config:
claimName: "plex-config" claimName: "plex-config"
# for transcoding to use the GPU
extraVolumeMounts:
- name: dev-dri
mountPath: /dev/dri
extraVolumes:
- name: dev-dri
hostPath:
path: /dev/dri
type: Directory
resources: resources:
requests: requests:
memory: "2Gi" memory: "2Gi"
cpu: "3" cpu: "1"
ephemeral-storage: "50Mi" ephemeral-storage: "50Mi"
limits: limits:
memory: "6Gi" memory: "10Gi"
cpu: "4" cpu: "3"
ephemeral-storage: "1Gi" ephemeral-storage: "1Gi"
podAnnotations: {} podAnnotations: {}
proxy: proxy:
+1 -3
View File
@@ -54,6 +54,4 @@ volumeMounts:
subPath: "airvpn" subPath: "airvpn"
securityContext: securityContext:
capabilities: # Needed for VPN privileged: true
add:
- NET_ADMIN