feat: allow using a custom runtimeClassName (#32)

This commit is contained in:
Wagner Santos 2024-10-21 11:02:59 -03:00 committed by GitHub
parent 850ea9bec8
commit 7b22683ac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -98,6 +98,7 @@ helm install <release-name> <chart-name> -f values.yaml
| service.port | int | `8096` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |
| runtimeClassName | string | `""` | Define a custom runtimeClassName for the pod, e.g. `nvidia` if you have the NVIDIA GPU Operator installed |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

View File

@ -167,3 +167,6 @@ spec:
{{ toYaml . | indent 8 }}
{{- end }}
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.runtimeClassName }}
runtimeClassName: {{.Values.runtimeClassName}}
{{- end }}

View File

@ -102,6 +102,9 @@ resources: {}
# cpu: 100m
# memory: 128Mi
# Define a custom runtimeClassName for the pod, e.g. "nvidia" if you have the NVIDIA GPU Operator installed
runtimeClassName:
nodeSelector: {}
tolerations: []