mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
Fix enterprise apps deployment (#137)
* Fixed: apps deployment * Changed: version bump
This commit is contained in:
parent
7c3ed7eb72
commit
e2d60312d3
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: clearml
|
name: clearml
|
||||||
description: MLOps platform
|
description: MLOps platform
|
||||||
type: application
|
type: application
|
||||||
version: "5.4.0"
|
version: "5.4.1"
|
||||||
appVersion: "1.9.2"
|
appVersion: "1.9.2"
|
||||||
kubeVersion: ">= 1.21.0-0 < 1.26.0-0"
|
kubeVersion: ">= 1.21.0-0 < 1.26.0-0"
|
||||||
home: https://clear.ml
|
home: https://clear.ml
|
||||||
@ -32,5 +32,5 @@ dependencies:
|
|||||||
condition: elasticsearch.enabled
|
condition: elasticsearch.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: external mongodb improved connection string
|
description: enterprise apps deployment not working
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ClearML Ecosystem for Kubernetes
|
# ClearML Ecosystem for Kubernetes
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
MLOps platform
|
MLOps platform
|
||||||
|
|
||||||
|
32
charts/clearml/templates/apps-configmap.yaml
Normal file
32
charts/clearml/templates/apps-configmap.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: {{ include "clearml.name" . }}-apps-pt
|
||||||
|
data:
|
||||||
|
template.yaml: |
|
||||||
|
apps_queue:
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
namespace: {{ $.Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
{{- if $.Values.imageCredentials.enabled }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- if $.Values.imageCredentials.existingSecret }}
|
||||||
|
- name: $.Values.imageCredentials.existingSecret
|
||||||
|
{{- else }}
|
||||||
|
- name: clearml-registry-key
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
serviceAccountName: "clearml-apps-sa"
|
||||||
|
containers:
|
||||||
|
- resources:
|
||||||
|
ports:
|
||||||
|
- containerPort: 10022
|
||||||
|
volumeMounts:
|
||||||
|
env:
|
||||||
|
- name: CLEARML_API_HOST
|
||||||
|
value: "http://{{ include "apiserver.referenceName" . }}:{{ .Values.apiserver.service.port }}"
|
||||||
|
- name: CLEARML_FILES_HOST
|
||||||
|
value: "http://{{ include "fileserver.referenceName" . }}:{{ .Values.fileserver.service.port }}"
|
||||||
|
- name: CLEARML_WEB_HOST
|
||||||
|
value: "http://{{ include "webserver.referenceName" . }}:{{ .Values.webserver.service.port }}"
|
@ -28,8 +28,11 @@ spec:
|
|||||||
- name: clearml-registry-key
|
- name: clearml-registry-key
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.enterpriseFeatures.clearmlApplications.additionalConfigs }}
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: {{ include "clearml.name" . }}-apps-pt
|
||||||
|
configMap:
|
||||||
|
name: {{ include "clearml.name" . }}-apps-pt
|
||||||
|
{{- if .Values.enterpriseFeatures.clearmlApplications.additionalConfigs }}
|
||||||
- name: apps-config
|
- name: apps-config
|
||||||
configMap:
|
configMap:
|
||||||
name: "{{ include "clearmlApplications.referenceName" . }}-configmap"
|
name: "{{ include "clearmlApplications.referenceName" . }}-configmap"
|
||||||
@ -68,8 +71,9 @@ spec:
|
|||||||
value: "apps-agent-1"
|
value: "apps-agent-1"
|
||||||
- name: CLEARML_NO_DEFAULT_SERVER
|
- name: CLEARML_NO_DEFAULT_SERVER
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: CLEARML_AGENT_DAEMON_OPTIONS
|
- name: K8S_GLUE_EXTRA_ARGS
|
||||||
value: "--foreground --create-queue --use-owner-token --child-report-tags application --services-mode=5"
|
value: "--namespace {{ .Release.Namespace }} --template-yaml /root/template/template.yaml \
|
||||||
|
--child-report-tags application --max-pods 5 --use-owner-token"
|
||||||
- name: K8S_GLUE_QUEUE
|
- name: K8S_GLUE_QUEUE
|
||||||
value: "apps_queue"
|
value: "apps_queue"
|
||||||
- name: CLEARML_AGENT_DISABLE_SSH_MOUNT
|
- name: CLEARML_AGENT_DISABLE_SSH_MOUNT
|
||||||
@ -97,8 +101,10 @@ spec:
|
|||||||
{{- if .Values.enterpriseFeatures.clearmlApplications.extraEnvs }}
|
{{- if .Values.enterpriseFeatures.clearmlApplications.extraEnvs }}
|
||||||
{{ toYaml .Values.enterpriseFeatures.clearmlApplications.extraEnvs | nindent 10 }}
|
{{ toYaml .Values.enterpriseFeatures.clearmlApplications.extraEnvs | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.enterpriseFeatures.clearmlApplications.additionalConfigs }}
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: {{ include "clearml.name" . }}-apps-pt
|
||||||
|
mountPath: /root/template
|
||||||
|
{{- if .Values.enterpriseFeatures.clearmlApplications.additionalConfigs }}
|
||||||
- name: apps-config
|
- name: apps-config
|
||||||
mountPath: /opt/clearml/config/default
|
mountPath: /opt/clearml/config/default
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user