From 5e9fa02387d8127bdf63a688845d4d08e848843f Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Tue, 4 Apr 2023 23:45:24 -0500 Subject: [PATCH] :memo: (plex): Add config section for transcoder directory --- charts/plex/Chart.yaml | 2 ++ charts/plex/README.md | 17 +++++++++++++++++ charts/plex/README_CONFIG.md.gotmpl | 17 +++++++++++++++++ charts/plex/values.yaml | 2 +- 4 files changed, 37 insertions(+), 1 deletion(-) diff --git a/charts/plex/Chart.yaml b/charts/plex/Chart.yaml index f59d2a66b..66f83ba22 100644 --- a/charts/plex/Chart.yaml +++ b/charts/plex/Chart.yaml @@ -20,6 +20,8 @@ annotations: artifacthub.io/changes: |- - kind: added description: Add example media persistence values + - kind: added + description: Add config section for transcoder directory - kind: fixed description: Fix copy-paste error artifacthub.io/links: |- diff --git a/charts/plex/README.md b/charts/plex/README.md index 81d009aa2..123f0a82b 100644 --- a/charts/plex/README.md +++ b/charts/plex/README.md @@ -102,6 +102,23 @@ Hardware acceleration using an Intel iGPU with QuickSync requires the GPU plugin gpu.intel.com/i915: 1 ``` +### Dedicated Transcode Directory + +By default, Plex will use a subdirectory of `/config` for the temporary files during transcoding. +This can be changed by adding a temporary directory at `/transcode`, for example in `values.yaml`: + +```yaml +persistence: + transcode: + enabled: true + storageClass: cheap-storage + accessMode: ReadWriteOnce + size: 40Gi +``` + +Once Plex is running, navigate to **Settings > Transcoder** and set **Transcoder temporary directory** +to `/transcode`. + ## Values **Important**: When deploying an application Helm chart you can add more values from the bjw-s common library chart [here](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common) diff --git a/charts/plex/README_CONFIG.md.gotmpl b/charts/plex/README_CONFIG.md.gotmpl index b4d331309..1b8b86f88 100644 --- a/charts/plex/README_CONFIG.md.gotmpl +++ b/charts/plex/README_CONFIG.md.gotmpl @@ -32,4 +32,21 @@ Hardware acceleration using an Intel iGPU with QuickSync requires the GPU plugin limits: gpu.intel.com/i915: 1 ``` + +### Dedicated Transcode Directory + +By default, Plex will use a subdirectory of `/config` for the temporary files during transcoding. +This can be changed by adding a temporary directory at `/transcode`, for example in `values.yaml`: + +```yaml +persistence: + transcode: + enabled: true + storageClass: cheap-storage + accessMode: ReadWriteOnce + size: 40Gi +``` + +Once Plex is running, navigate to **Settings > Transcoder** and set **Transcoder temporary directory** +to `/transcode`. {{- end -}} diff --git a/charts/plex/values.yaml b/charts/plex/values.yaml index cdf9f5b08..ac67b4365 100644 --- a/charts/plex/values.yaml +++ b/charts/plex/values.yaml @@ -49,7 +49,7 @@ persistence: retain: true # storageClass: "" # accessMode: ReadWriteOnce - # size: 1Gi + # size: 16Gi # -- Configure media volume under this key (or under `tv` and `movies`, etc). # @default -- See [values.yaml](./values.yaml) media: