GithubHelp home page GithubHelp logo

Comments (4)

javsalgar avatar javsalgar commented on September 26, 2024

Hi!

Thank you so much for the feature request. I will forward this to the team for evaluation.

For the time being, it is possible for you to integrate it with an existing mysql installation by setting postgresql.enabled=false and overriding the command and args sections (see command and args under tracking) to set the configuration to use your own mysql database.

from charts.

surya9teja avatar surya9teja commented on September 26, 2024

Thanks for the suggestion and I will use the custom command to setup MySQL for now.

from charts.

act-mreeves avatar act-mreeves commented on September 26, 2024

I tried this and got pretty far by hacking on the helm chart.
For example the helpers are very opinionated about postgres and I had to modify the URIs to be able to change the driver/protocol:
https://github.com/bitnami/charts/blob/main/bitnami/mlflow/templates/_helpers.tpl#L495

- {{- printf "postgresql://%s:$(MLFLOW_DATABASE_PASSWORD)@%s:%v/%s" (include "mlflow.v0.database.user" .) (include "mlflow.v0.database.host" .) (include "mlflow.v0.database.port" .) (include "mlflow.v0.database-auth.name" .) -}}
+ {{- printf "%s://%s:$(MLFLOW_DATABASE_PASSWORD)@%s:%v/%s" (include "mlflow.v0.database.protocol" .) (include "mlflow.v0.database.user" .) (include "mlflow.v0.database.host" .) (include "mlflow.v0.database.port" .) (include "mlflow.v0.database-auth.name" .) -}}

However, the base image for mlflow would need to have additional system and/or pip dependencies installed to support this.

For example: I set protocol to mysql+pymysql trying to deal with an error similar to ImportError: No module named MySQLdb. https://stackoverflow.com/questions/22252397/importerror-no-module-named-mysqldb. Any chance of there being an image we can use with those dependencies installed? I'd be happy to make a PR if so. https://bitnami.com/stack/mlflow/containers says I'd probably need to add that here? a PR to here https://github.com/bitnami/containers/blob/main/bitnami/mlflow/2/debian-12/Dockerfile ?

from charts.

javsalgar avatar javsalgar commented on September 26, 2024

Hi!

I forwarded this to the team to see if we can add the module to the container.

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.