Skip to content

Commit

Permalink
Merge pull request #23 from CSCfi/doc-updates
Browse files Browse the repository at this point in the history
Edit mlflow README
  • Loading branch information
jemaltahir authored Mar 1, 2024
2 parents 76c29f5 + ad6d19d commit 0a97db0
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions charts/mlflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a97db0

Please sign in to comment.