k3s-io/kine

[Question] Benefit of NATS over plain etcd

unixfox opened this issue · 1 comments

I just saw that NATS support was recently added, that's neat.

But what would be the benefit of using NATS over etcd for a multi master k3s cluster?

Pinging people that seem to use NATS on k3s @caleblloyd @boxboatmatt @jnmoyne


After reading this paper found in the issue k3s-io/k3s#5347, it seems like NATS would help in reducing the latency.

I plan to deploy a cluster that span across multiple datacenters so NATS may be useful in this case.

Sure, @boxboatmatt did a Susecon talk that you might find interesting:

https://www.youtube.com/watch?v=JYDUc5ebyz0

The data is stored in a NATS KV bucket, which is a type of NATS Stream. Therefore any NATS stream operation is supported, such as source/mirror and backup/restore