From 0e08d89e0175e80dcd162250bbee12294324775e Mon Sep 17 00:00:00 2001 From: gilgamezh Date: Sun, 16 Feb 2025 15:31:50 +0100 Subject: [PATCH] move plex to AMD with GPU --- plex_values.yml | 20 +++++++++++++++----- transmission_values.yml | 4 +--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/plex_values.yml b/plex_values.yml index f3427e6..79641bf 100644 --- a/plex_values.yml +++ b/plex_values.yml @@ -19,8 +19,7 @@ rbac: create: true nodeSelector: - beta.kubernetes.io/arch: arm64 - + beta.kubernetes.io/arch: amd64 persistence: transcode: @@ -30,14 +29,25 @@ persistence: 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: requests: memory: "2Gi" - cpu: "3" + cpu: "1" ephemeral-storage: "50Mi" limits: - memory: "6Gi" - cpu: "4" + memory: "10Gi" + cpu: "3" ephemeral-storage: "1Gi" podAnnotations: {} proxy: diff --git a/transmission_values.yml b/transmission_values.yml index 8f64b9a..3ea858f 100644 --- a/transmission_values.yml +++ b/transmission_values.yml @@ -54,6 +54,4 @@ volumeMounts: subPath: "airvpn" securityContext: - capabilities: # Needed for VPN - add: - - NET_ADMIN + privileged: true