Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/plex-media-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.2.0
version: 1.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 3 additions & 1 deletion charts/plex-media-server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# plex-media-server

![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.42.2](https://img.shields.io/badge/AppVersion-1.42.2-informational?style=flat-square)
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.42.2](https://img.shields.io/badge/AppVersion-1.42.2-informational?style=flat-square)

**Homepage:** <https://www.plex.tv>

Expand Down Expand Up @@ -129,6 +129,8 @@ Before contributing, please read the [Code of Conduct](../../CODE_OF_CONDUCT.md)
| pms.claimSecret.name | string | `""` | |
| pms.configExistingClaim | string | `""` | Name of an existing `PersistentVolumeClaim` for the PMS database NOTE: When set, 'configStorage' and 'storageClassName' are ignored. |
| pms.configStorage | string | `"2Gi"` | The volume size to provision for the PMS database |
| pms.gpu.nvidia.capabilities | string | `"compute,video,utility"` | Optional: NVIDIA driver capabilities. Available values are: `compute`, `compat32`, `graphics`, `utility`, `video`, `display`. See [NVIDIA docs](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html#driver-capabilities) |
| pms.gpu.nvidia.devices | string | `"all"` | Optional: NVIDIA GPU devices by index or UUID. Examples: "0,1", "GPU-uuid1,GPU-uuid2", or "all". See [NVIDIA docs](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html#gpu-enumeration) |
| pms.gpu.nvidia.enabled | bool | `false` | |
| pms.livenessProbe | object | `{}` | Add kubernetes liveness probe to pms container. |
| pms.readinessProbe | object | `{}` | Add kubernetes readiness probe to pms container. |
Expand Down
6 changes: 3 additions & 3 deletions charts/plex-media-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ spec:
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- if and .Values.pms.claimSecret.name .Values.pms.claimSecret.value }}
{{- if and .Values.pms.claimSecret.name .Values.pms.claimSecret.key }}
- name: PLEX_CLAIM
valueFrom:
secretKeyRef:
Expand All @@ -139,9 +139,9 @@ spec:
{{- end }}
{{- if .Values.pms.gpu.nvidia.enabled }}
- name: NVIDIA_VISIBLE_DEVICES
value: all
value: {{ .Values.pms.gpu.nvidia.devices | default "all" | quote }}
- name: NVIDIA_DRIVER_CAPABILITIES
value: compute,video,utility
value: {{ .Values.pms.gpu.nvidia.capabilities | default "compute,video,utility" | quote }}
{{- end }}
{{- with .Values.pms.livenessProbe }}
livenessProbe:
Expand Down
8 changes: 8 additions & 0 deletions charts/plex-media-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ pms:
gpu:
nvidia:
enabled: false
# -- Optional: NVIDIA GPU devices by index or UUID.
# Examples: "0,1", "GPU-uuid1,GPU-uuid2", or "all".
# See [NVIDIA docs](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html#gpu-enumeration)
devices: "all"
# -- Optional: NVIDIA driver capabilities.
# Available values are: `compute`, `compat32`, `graphics`, `utility`, `video`, `display`.
# See [NVIDIA docs](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html#driver-capabilities)
capabilities: "compute,video,utility"

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down