krestomatio / keydb-operator

A KeyDB (Drop-In Alternative to Redis) Operator for Kubernetes, based on Ansible Operator SDK.
https://krestomatio.com
Apache License 2.0
51 stars 3 forks source link

feature: Allow running without persistent storage #72

Open ibotty opened 1 year ago

ibotty commented 1 year ago

What is the motivation or use case for the feature?

I don't need persistence for my use case. Restarting the whole keydb cluster can start without any data, but when a cluster node goes down (because of e.g. hardware failure) it should start as soon as possible and get the current data as soon as possible. This works better without persistent volumes.

Describe the solution you'd like Using emptyDir storage instead.

ajchiarello commented 2 weeks ago

Is there any plan to implement this feature?

jobcespedes commented 2 weeks ago

Collaboration and contributions are always welcome!

Currently, there is no implementation for this feature due to limited time from available contributors. However, we understand the value of using emptyDir storage in scenarios like yours, where persistence is not required but fast recovery is essential. While it's not on the roadmap right now, we’re staying focused on the most pressing needs given our resources.

We encourage anyone interested to contribute, and we'd be happy to review any PRs around this functionality.

Thanks again for your input, and please feel free to reach out if you have more ideas!