-
Notifications
You must be signed in to change notification settings - Fork 102
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
maya without etcd? #1527
Comments
We have an interface
Quick search indicates etcd data was deleted, are you using persistent storage for etcd? |
Would it not be possible to use the NATS built in K/V capability (as it seems you are already depending on NATS)? |
I would volunteer to contribute that! Nats is battle tested in prod here. Unfortunately currently blocked due to other issues with maya that I haven't had time to figure out yet |
Interesting, I was not aware NATS had a builtin kv store! Does it have leases as well? |
k3s are currently adding nats as an alternative to etcd (see k3s-io/k3s#7451). That work might serve as an inspiration :) |
By the way can't be k8s api used as a KV storage to not to spin up separate KV storage? |
Not at the moment, we interact with etcd directly, which can't be done with k8s etcd. |
Am I right to understand that it's possible in case of Because I'm interested why to not use k8s as kv storage if mayastor always executed in k8s, where there's already working k8s API? :) |
Mayastor is actually not tied to k8s, which is why it cannot only reply on k8s api; |
i'm hoping to be able to share a solution with nats soon, that is directly usable for mayastor. in the meantime this might help with regards to leases: |
mayastor uses etcd which appears to be very fragile.
is this mandatory? it doesnt appear to store much, so any k/v would work?
i can reliably take down the mayastor cluster by testing power failure events
eventually you end up with
which appears top require manual intervention
see also #1318 (comment)
power failure is something that i'd prefer to recover from automatically.
could something like cockroachdb work?
The text was updated successfully, but these errors were encountered: