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

Allow to configure KV store in the control plane via URI #370

Closed
masci opened this issue Nov 20, 2024 · 0 comments · Fixed by #391
Closed

Allow to configure KV store in the control plane via URI #370

masci opened this issue Nov 20, 2024 · 0 comments · Fixed by #391
Assignees
Labels

Comments

@masci
Copy link
Member

masci commented Nov 20, 2024

To be able to scale the control plane horizontally, the different instances should be able to share the same metadata storage. This is possible by passing an instance of a BaseKVStore to the control plane constructor in the state_store parameter, but it's not very practical because you would need some Python glue code to create the instance based on some configuration.

A better approach would be passing an URI describing the KVStore to be used in the control planes, so that each control plane replica could load it from an env var like CONTROL_PLANE_SERVICE_KV_STORE_URI.

Feature request coming from #357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant