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

[Feature] vela-apiserver supports mysql driver #4824

Closed
oeular opened this issue Oct 5, 2022 · 6 comments
Closed

[Feature] vela-apiserver supports mysql driver #4824

oeular opened this issue Oct 5, 2022 · 6 comments
Labels
area/apiserver APIServer related effort/large priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@oeular
Copy link
Member

oeular commented Oct 5, 2022

In vela-apiser, there are two drivers (kubeapi and mongodb) to save the metadata, and now mysql driver is needed.

@oeular oeular added the area/apiserver APIServer related label Oct 5, 2022
@oeular
Copy link
Member Author

oeular commented Oct 5, 2022

For some reasons, mysql driver is needed:

  • the LIST operation for configmaps will get all configmaps in namespace which makes request pressure for k8s apiserver, and this is high latency, but mysql driver can low the latency by db index.
  • the configmaps for metadata will increase highly with the increasing of applications and components, but mysql can scale up easily and in safety.
  • with mysql driver, it's high-available and high-reliability naturally.

@oeular
Copy link
Member Author

oeular commented Oct 5, 2022

@tangoliu
we discuss this issue here.

@oeular oeular added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. effort/large labels Oct 5, 2022
@oeular
Copy link
Member Author

oeular commented Oct 5, 2022

In this issue, it will be much better to provide the API or vela-cli for migrating the metadata from kube-api to mysql, and it's optional for migrating from mongodb to mysql.

@chivalryq
Copy link
Member

duplicate with #3666

@oeular
Copy link
Member Author

oeular commented Oct 6, 2022

OK. But migrating the metadata among the mongodb, kube-api and mysql could be an independent feature.

@wonderflow
Copy link
Collaborator

kubevela/velaux#841

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apiserver APIServer related effort/large priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

3 participants