fixed #256. added runtimeClassName and fixed incorrect placement of nodeSelector (#259)

* fixed #256.
nodeSelector was incorrectly placed under the container.
moved it to pod spec
added runtimeClassName to the pod spec to select specific GPU nodes.

* increment version number

* added artifacthub.io/changes

* update readme.md

* try to fix helm docs generation issue

* update readme.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

---------

Co-authored-by: IAEA_SG\BERTLS <s.bertl@iaea.org>
Co-authored-by: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com>
This commit is contained in:
stephanbertl 2023-11-20 14:37:01 +01:00 committed by GitHub
parent eff09794bd
commit fdbbe5b90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 6 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: clearml-serving name: clearml-serving
description: ClearML Serving Helm Chart description: ClearML Serving Helm Chart
type: application type: application
version: "1.5.1" version: "1.5.2"
appVersion: "1.3.0" appVersion: "1.3.0"
kubeVersion: ">= 1.21.0-0 < 1.29.0-0" kubeVersion: ">= 1.21.0-0 < 1.29.0-0"
home: https://clear.ml home: https://clear.ml
@ -35,3 +35,5 @@ annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: fixed
description: missing extraEnvs description: missing extraEnvs
- kind: fixed
description: added runtimeClassName for triton pods and fixed nodeSelector not working

View File

@ -1,6 +1,6 @@
# ClearML Kubernetes Serving # ClearML Kubernetes Serving
![Version: 1.5.1](https://img.shields.io/badge/Version-1.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square) ![Version: 1.5.2](https://img.shields.io/badge/Version-1.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square)
ClearML Serving Helm Chart ClearML Serving Helm Chart

View File

@ -27,6 +27,9 @@ spec:
- name: clearml-registry-key - name: clearml-registry-key
{{- end }} {{- end }}
{{- end }} {{- end }}
{{ if .Values.clearml_serving_triton.runtimeClassName}}
runtimeClassName: {{ .Values.clearml_serving_triton.runtimeClassName }}
{{- end}}
{{- if or .Values.clearml_serving_triton.additionalConfigs .Values.clearml_serving_triton.existingAdditionalConfigsConfigMap .Values.clearml_serving_triton.existingAdditionalConfigsSecret }} {{- if or .Values.clearml_serving_triton.additionalConfigs .Values.clearml_serving_triton.existingAdditionalConfigsConfigMap .Values.clearml_serving_triton.existingAdditionalConfigsSecret }}
volumes: volumes:
- name: additional-config - name: additional-config
@ -75,10 +78,7 @@ spec:
- name: additional-config - name: additional-config
mountPath: /opt/clearml/config mountPath: /opt/clearml/config
{{- end }} {{- end }}
{{- with .Values.clearml_serving_triton.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.clearml_serving_triton.affinity }} {{- with .Values.clearml_serving_triton.affinity }}
affinity: affinity:
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
@ -90,5 +90,9 @@ spec:
resources: resources:
{{- toYaml .Values.clearml_serving_triton.resources | nindent 12 }} {{- toYaml .Values.clearml_serving_triton.resources | nindent 12 }}
restartPolicy: Always restartPolicy: Always
{{- with .Values.clearml_serving_triton.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{ end }} {{ end }}

View File

@ -112,6 +112,9 @@ clearml_serving_triton:
image: image:
repository: "allegroai/clearml-serving-triton" repository: "allegroai/clearml-serving-triton"
tag: "1.3.0" tag: "1.3.0"
# -- Runtime Class configuration
# uncomment to use custom runtime class, eg. nvidia when using GPU operator
# runtimeClassName: "nvidia"
# -- Node Selector configuration # -- Node Selector configuration
nodeSelector: {} nodeSelector: {}
# -- Tolerations configuration # -- Tolerations configuration