Skip to content
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

Use single MySQL database in Kubeflow bundle #625

Open
i-chvets opened this issue Jun 28, 2023 · 0 comments
Open

Use single MySQL database in Kubeflow bundle #625

i-chvets opened this issue Jun 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@i-chvets
Copy link
Contributor

Description

There are two MySQL databases in Kubeflow: kfp-db and katib-db. When MySQL charm was introduced both of those databases were replaced with MySQL charm (instead of out-of-support MariaDB).
MySQL charm consumes a lot of resources which causes slow bring up. In many cases, smaller deployments do not require two databases. In additiom, in development it causes significant slow downs.
To solve this problem it is proposed to have a single MySQL database charm in default Kubeflow deployment with constraints to minimize resource use.
A method should be provided to allow for in-field deployment with two databases.

Design

  • Two existing charms kfp-db and katib-db are removed from the bundle along with their relations to kfp-api and katib-db-manager
  • A single database MySQL charm kf-mysql-db is added to the bundle.
  • Two relations are created: [katib-db-manager:relational-db, kf-mysql-db:database] and [kfp-api:relational-db, kf-mysql-db:database].
  • An overlay is created that specifies two databases - kfp-db and katib-db - and their corresponding relations to be used in-field deployments.

Implementation

PR was created, but later closed to allow for more testing: #590
It should be revisited when decision is made when to introduce this fature.

@ca-scribner ca-scribner changed the title Use single MySQL dartabase in Kubeflow bundle Use single MySQL database in Kubeflow bundle Jul 5, 2023
@ca-scribner ca-scribner added the enhancement New feature or request label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants