From ad6d19d780d87ab541327415b7d8f3f9007ad984 Mon Sep 17 00:00:00 2001 From: Tristan Date: Fri, 1 Mar 2024 13:45:06 +0200 Subject: [PATCH] Edit mlflow README --- charts/mlflow/README.md | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/charts/mlflow/README.md b/charts/mlflow/README.md index a94f260..ddab14c 100644 --- a/charts/mlflow/README.md +++ b/charts/mlflow/README.md @@ -8,21 +8,35 @@ This Helm chart deploys MLflow on Rahti2. ## Test and Deploy Different steps are necessary to deploy this Helm Chart to Rahti2: -1. Before installing the Helm Chart, be sure to create Allas credentials for an externalS3 configuration. +1. If you want to use CSC external S3 service (Allas), be sure to create Allas credentials. You can achieve this by [sourcing](https://docs.csc.fi/cloud/pouta/install-client/#configure-your-terminal-environment-for-openstack) your cPouta project and then type this command: - ```sh - openstack ec2 credentials create - ``` + + ```sh + openstack ec2 credentials create + ``` + Create also an Allas bucket for this deployment. (For example "mlflow") -2. Deploy MLflow with the `config.yaml` file: - ```sh - helm install mlflow . --set externalS3.accessKeyID={ACCESS_KEY} --set externalS3.accessKeySecret={SECRET_KEY} --set externalS3.bucket={BUCKET_NAME} - ``` + You can also use another external S3 service instead of Allas. + +2. Deploy MLflow: + + ```sh + helm install mlflow . --set externalS3.accessKeyID={ACCESS_KEY} --set externalS3.accessKeySecret={SECRET_KEY} --set externalS3.bucket=mlflow + ``` + _Replace {ACCESS_KEY} by the access key previously created_ _Replace {SECRET_KEY} by the secret key previously created_ _Replace {BUCKET_NAME} by the name of the bucket previously created_ + Alternatively, you can edit the `values.yaml`: + + ```yaml + externalS3: + accessKeyID: '' + accessKeySecret: '' + bucket: 'mlflow' + ``` To access MLflow tracking webpage, run this command to retrieve `user` password: ```sh