-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitnami/mlflow] feat: Allow database dialects of external database to be configured #25965
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @frittentheke for your contribution!
It looks great and very useful. I left a little suggestion, about the version used. Could you give it a glance?
… be configured Currently the database URI statically uses `postgresql` as dialect, even though other types are supported by mlFlow. This now allows to use the other supported database types as external database. [1] https://mlflow.org/docs/latest/tracking/backend-stores.html?highlight=mssql#supported-store-types Resolves: bitnami#25964 Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
8ce1f62
to
b6afc4b
Compare
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
DONE @fmulero . PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @frittentheke
LGTM
Awesome @fmulero . Could you kindly check what is wrong in CI (https://github.com/bitnami/charts/actions/runs/9291472195/job/25745528664?pr=25965) keeping this from getting merged? |
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
That was a temporary issue, not related with your changes |
Thanks @fmulero ! May I kindly ask you for an answer on how and when the container image will be updated? I suppose #22992 is actually also resolved by this very pull request, provided the required libraries for MySQL + PostgreSQL have also been added. |
@juan131 I read your post #22720 (comment) about added Python modules. May I kindly ask you to also add the modules to support different database engines? @javsalgar did mention this request was forwarded to your container team already, but that was back in march: #22992 (comment) |
As I mentioned on this comment, we want the image to include only the most important pip modules exclusively. This is sth very important to keep the container small and reduce the attack surface from a security point of view. We add the module for PostgreSQL given it's the default database we use in the Helm chart, the same way we've decided to add the modules for AWS S3 and Google Cloud Storage given they're the most extendedly used cloud solutions for object storage. However, we cannot extend this to every database (or object storage solution) supported by MLFlow given we'll be increasing the number of dependencies significantly. That's why we recommend to extend the Bitnami image adding the required modules for those cases that aren't supported by default. |
Sorry @juan131, I totally missed that you indeed already responded.
That's reasonable. I just thought that since the list of database engines / dialects MLflow supports in finite: |
Hi May I ask why this PR handled the dialect for mlflow.v0.database-auth.uri but not mlflow.v0.database.uri? Currently, Was it just forgotten? I can open a PR if that,s the case. |
Hi @Matroxt Please create a PR addressing this particular issue, that'd be highly appreciated. Thanks in advance. |
…red (bitnami#25965) This is therefor just a fixup to fix the auth database URI generation. The previous commit PR bitnami#25965 did not apply the dialect template / config to the uri of the auth database. Fixes: bitnami#25965
…red (bitnami#25965) This is a fixup for the auth database URI generation. The previous commit PR bitnami#25965 did not apply the dialect template / config to the uri of the auth database. Fixes: bitnami#25965 Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
…red (bitnami#25965) This is a fixup for the auth database URI generation. The previous commit PR bitnami#25965 did not apply the dialect template / config to the uri of the auth database. Fixes: bitnami#25965 Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
@Matroxt Sorry about that, I quickly pushed a PR #28316 already. @juan131 if you could kindly review that one? |
Awesome, thanks for the very quick fix ❤️ |
Description of the change
Currently the database URI statically uses
postgresql
as dialect, even though other types are supported by mlFlow.This now allows to use the other supported database types as external database.
[1] https://mlflow.org/docs/latest/tracking/backend-stores.html?highlight=mssql#supported-store-types
Benefits
Other (mlFlow supported) database types can now be used as external databases
Possible drawbacks
Applicable issues
Additional information
Checklist
Chart.yaml
according to semver. This is not necessary when the changes only affect README.md files.README.md
using readme-generator-for-helm