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

Question: can go-dqlite be used as container in a microk8s cluster? #130

Closed
didier-durand opened this issue Dec 18, 2020 · 1 comment
Closed

Comments

@didier-durand
Copy link

Hi there,

My question is the following: Is go-dqlite wrappable simply into a container image? Is this image available somewhere?

My use case would then be to deploy this container and query the dqllite database used by microk8s to analyze its content. Indeed, I'd like to make SQL queries like those I am used to with the SQLite CLI: https://sqlite.org/cli.html

Thanks!

DIdier

@stgraber
Copy link
Contributor

No. dqlite is an embedded database which in the case of microk8s gets embedded into the API servers.
I don't believe microk8s exposes a REST API endpoint for you to send arbitrary SQL queries to the cluster (like LXD does through lxd sql).

dqlite users can allow something like this by exposing their own API which sends requests through go/sql but it's not something you can do on your own if the project you're interacting with didn't put the infrastructure in place.

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

No branches or pull requests

2 participants