canonical / mlflow-operator

MLFlow Operators
Apache License 2.0
12 stars 11 forks source link

Missing charm config to expose the --serve-artifacts option for mlflow #287

Open Barteus opened 1 week ago

Barteus commented 1 week ago

Context

When accessing the mlflow from outside the cluster the S3 storage is not exposed, the default mlflow library in python requires flag --serve-artifacts to use tracking server to upload artefacts instead of directly uploading them to the object storage.

From mlflow documentation:

If the MLflow server is not configured with the --serve-artifacts option, the client directly pushes artifacts to the artifact store. It does not proxy these through the tracking server by default.

For data security its better to not expose the S3 storage to the world if possible.

What needs to get done

  1. add config option
  2. if server-artifacts == True, add flag --serve-artifacts to mlflow server execution

Definition of Done

There is a way to enable the serve-artifacts flag for MLflow.

syncronize-issues-to-jira[bot] commented 1 week ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6468.

This message was autogenerated

mathmarchand commented 5 days ago

I can work on this, Can I be assigned to this issue?