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: what would it take to shim etcd with redis #130

Open
ecyrbe opened this issue Aug 2, 2022 · 3 comments
Open

Question: what would it take to shim etcd with redis #130

ecyrbe opened this issue Aug 2, 2022 · 3 comments

Comments

@ecyrbe
Copy link

ecyrbe commented Aug 2, 2022

Hello there,

Could i use kine to shim etcd for k8s with redis as the database, or does the driver model only support SQL as a driver?

@brandond
Copy link
Contributor

brandond commented Aug 2, 2022

As the project readme states, kine currently only supports dqlite, sqlite, Postgres, MySQL and NATS JetStream. dqlite support is deprecated.

Porting it to redis would be difficult, as redis does not currently support key versioning.

@ecyrbe
Copy link
Author

ecyrbe commented Aug 2, 2022

But technically speaking, if i where to create a redis driver for kine, doing some jutsu with key convention suffix and scanning to emulate versionning, could it be done with current driver model or i'm going on a dead end path?

@brandond
Copy link
Contributor

brandond commented Aug 3, 2022

I think it wouldn't perform very well if you could get it working at all, but I certainly encourage you to give it a try. I think redis only supports watching keys, not key prefixes, so that might be another challenge.

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