From 898089b7fb0db149af2a81e81957cb363f3ba9f2 Mon Sep 17 00:00:00 2001 From: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com> Date: Sat, 14 Aug 2021 12:00:23 +0200 Subject: [PATCH] Fix agent clearml conf (#18) * fix agent mount clearml.conf * bump up version --- charts/clearml/Chart.yaml | 2 +- charts/clearml/README.md | 2 +- charts/clearml/templates/deployment-agent.yaml | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/charts/clearml/Chart.yaml b/charts/clearml/Chart.yaml index cf9ddaa..25dec76 100644 --- a/charts/clearml/Chart.yaml +++ b/charts/clearml/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: clearml description: MLOps platform type: application -version: "2.1.0" +version: "2.1.1" appVersion: "1.1.1" home: https://clear.ml icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg diff --git a/charts/clearml/README.md b/charts/clearml/README.md index 8e0a5b5..1e78f93 100644 --- a/charts/clearml/README.md +++ b/charts/clearml/README.md @@ -1,6 +1,6 @@ # ClearML Ecosystem for Kubernetes -![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.1](https://img.shields.io/badge/AppVersion-1.1.1-informational?style=flat-square) +![Version: 2.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.1](https://img.shields.io/badge/AppVersion-1.1.1-informational?style=flat-square) MLOps platform diff --git a/charts/clearml/templates/deployment-agent.yaml b/charts/clearml/templates/deployment-agent.yaml index ac18e0e..080e15d 100644 --- a/charts/clearml/templates/deployment-agent.yaml +++ b/charts/clearml/templates/deployment-agent.yaml @@ -91,6 +91,13 @@ spec: python3 -m pip install -U pip ; python3 -m pip install clearml-agent{{ .agentVersion}} ; CLEARML_AGENT_K8S_HOST_MOUNT=/root/.clearml:/root/.clearml clearml-agent daemon --queue {{ .queues}}" + {{ if .clearmlConfig }} + volumeMounts: + - name: agent-clearml-conf-volume + mountPath: /root/clearml.conf + subPath: clearml.conf + readOnly: true + {{- end }} {{- with .nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}