Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runtimeClassName #105

Merged
merged 3 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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: 0.3.0
version: 0.4.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
1 change: 1 addition & 0 deletions charts/plex-media-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ The following table lists the configurable parameters of the Pms-chart chart and
| `initContainer.image.sha` | Optional SHA digest to specify a specific image rather than a specific tag | `""` |
| `initContainer.image.pullPolicy` | | `"IfNotPresent"` |
| `initContainer.script` | An optional script that will be run by the init container, it can be used on the first run to stop pms from starting when importing a pre-exiting database | `""` |
| `runtimeClassName` | Specify your own runtime class name eg use gpu | `""` |
| `rclone.enabled` | If rclone should be used to mount volumes | `false` |
| `rclone.image.registry` | The registry that should be used to pull the image from | `"index.docker.io"` |
| `rclone.image.repository` | The docker repo that will be used for the rclone container | `"rclone/rclone"` |
Expand Down
3 changes: 3 additions & 0 deletions charts/plex-media-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ spec:
annotations:
{{- toYaml .Values.statefulSet.podAnnotations | nindent 8 }}
spec:
{{- if .Values.runtimeClassName }}
runtimeClassName: {{ .Values.runtimeClassName | quote }}
{{- end }}
serviceAccountName: {{ include "pms-chart.serviceAccountName" . }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/plex-media-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
#
# echo "Done."

# specify your own runtime class name eg use gpu
runtimeClassName: ""

Check failure on line 87 in charts/plex-media-server/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

87:21 [trailing-spaces] trailing spaces
cilindrox marked this conversation as resolved.
Show resolved Hide resolved

# the settings specific to rclone
rclone:
# if the rclone sidecar should be created
Expand Down
Loading