From 189de106c98a39e8dbef484f9ce2de6c686b1ac2 Mon Sep 17 00:00:00 2001 From: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com> Date: Fri, 16 Jul 2021 07:30:09 +0200 Subject: [PATCH] Kind data folder (#11) * explain data folder for kind * bump up version --- charts/clearml/Chart.yaml | 2 +- charts/clearml/README.md | 8 ++++++-- charts/clearml/README.md.gotmpl | 6 +++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/charts/clearml/Chart.yaml b/charts/clearml/Chart.yaml index f2e5525..ace0222 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.0.0-beta1" +version: "2.0.0-beta2" appVersion: "1.0.2" 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 21a9a36..91b5e74 100644 --- a/charts/clearml/README.md +++ b/charts/clearml/README.md @@ -1,6 +1,6 @@ # ClearML Ecosystem for Kubernetes -![Version: 2.0.0-beta1](https://img.shields.io/badge/Version-2.0.0--beta1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.2](https://img.shields.io/badge/AppVersion-1.0.2-informational?style=flat-square) +![Version: 2.0.0-beta2](https://img.shields.io/badge/Version-2.0.0--beta2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.2](https://img.shields.io/badge/AppVersion-1.0.2-informational?style=flat-square) MLOps platform @@ -31,6 +31,8 @@ For development/evaluation it's possible to use [kind](https://kind.sigs.k8s.io) After installation, following commands will create a complete ClearML insatllation: ``` +mkdir -pm 777 /tmp/clearml-kind + cat < /tmp/clearml-kind.yaml kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 @@ -50,7 +52,7 @@ nodes: listenAddress: "127.0.0.1" protocol: TCP extraMounts: - - hostPath: /var/folders/kind/ + - hostPath: /tmp/clearml-kind/ containerPath: /var/local-path-provisioner EOF @@ -65,6 +67,8 @@ After deployment, the services will be exposed on localhost on the following por * Web server on `30080` * File server on `30081` +Data persisted in every Kubernetes volume by ClearML will be accessible in /tmp/clearml-kind folder on the host. + ## Production cluster environment In a production environment it's suggested to install an ingress controller and verify that is working correctly. diff --git a/charts/clearml/README.md.gotmpl b/charts/clearml/README.md.gotmpl index a8597e3..b8af9e8 100644 --- a/charts/clearml/README.md.gotmpl +++ b/charts/clearml/README.md.gotmpl @@ -28,6 +28,8 @@ For development/evaluation it's possible to use [kind](https://kind.sigs.k8s.io) After installation, following commands will create a complete ClearML insatllation: ``` +mkdir -pm 777 /tmp/clearml-kind + cat < /tmp/clearml-kind.yaml kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 @@ -47,7 +49,7 @@ nodes: listenAddress: "127.0.0.1" protocol: TCP extraMounts: - - hostPath: /var/folders/kind/ + - hostPath: /tmp/clearml-kind/ containerPath: /var/local-path-provisioner EOF @@ -62,6 +64,8 @@ After deployment, the services will be exposed on localhost on the following por * Web server on `30080` * File server on `30081` +Data persisted in every Kubernetes volume by ClearML will be accessible in /tmp/clearml-kind folder on the host. + ## Production cluster environment In a production environment it's suggested to install an ingress controller and verify that is working correctly.