mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
affinity for serving deployments was incorrectly put under containers… (#280)
* affinity for serving deployments was incorrectly put under containers. It needs to be put at pod spec level. * Fixed: helm docs generation * Fixed: helm-docs generation --------- Co-authored-by: = <s.bertl@iaea.org> Co-authored-by: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com>
This commit is contained in:
parent
4845bd3f4f
commit
65393cd4bf
@ -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.4"
|
version: "1.5.5"
|
||||||
appVersion: "1.3.0"
|
appVersion: "1.3.0"
|
||||||
kubeVersion: ">= 1.21.0-0 < 1.30.0-0"
|
kubeVersion: ">= 1.21.0-0 < 1.30.0-0"
|
||||||
home: https://clear.ml
|
home: https://clear.ml
|
||||||
@ -34,4 +34,4 @@ dependencies:
|
|||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: fixed
|
||||||
description: kubernetes 1.29 support
|
description: fixed affinity in serving templates. They need to be set on the pod and not the container.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ClearML Kubernetes Serving
|
# ClearML Kubernetes Serving
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
ClearML Serving Helm Chart
|
ClearML Serving Helm Chart
|
||||||
|
|
||||||
|
@ -40,6 +40,10 @@ spec:
|
|||||||
name: "{{ include "clearmlServing.fullname" . }}-inference-configmap"
|
name: "{{ include "clearmlServing.fullname" . }}-inference-configmap"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.clearml_serving_inference.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: CLEARML_API_ACCESS_KEY
|
- name: CLEARML_API_ACCESS_KEY
|
||||||
@ -98,10 +102,6 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.clearml_serving_inference.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{- toYaml . | nindent 12 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.clearml_serving_inference.tolerations }}
|
{{- with .Values.clearml_serving_inference.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
@ -41,6 +41,10 @@ spec:
|
|||||||
name: "{{ include "clearmlServing.fullname" . }}-statistics-configmap"
|
name: "{{ include "clearmlServing.fullname" . }}-statistics-configmap"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.clearml_serving_statistics.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: CLEARML_API_ACCESS_KEY
|
- name: CLEARML_API_ACCESS_KEY
|
||||||
@ -83,10 +87,6 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.clearml_serving_statistics.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{- toYaml . | nindent 12 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.clearml_serving_statistics.tolerations }}
|
{{- with .Values.clearml_serving_statistics.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
@ -44,6 +44,10 @@ spec:
|
|||||||
name: "{{ include "clearmlServing.fullname" . }}-triton-configmap"
|
name: "{{ include "clearmlServing.fullname" . }}-triton-configmap"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.clearml_serving_triton.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: CLEARML_API_ACCESS_KEY
|
- name: CLEARML_API_ACCESS_KEY
|
||||||
@ -78,11 +82,6 @@ spec:
|
|||||||
- name: additional-config
|
- name: additional-config
|
||||||
mountPath: /opt/clearml/config
|
mountPath: /opt/clearml/config
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with .Values.clearml_serving_triton.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{- toYaml . | nindent 12 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.clearml_serving_triton.tolerations }}
|
{{- with .Values.clearml_serving_triton.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user