etcd is also the entire point of k8s. that it's a single self-contained framework and doesn't require an external backer service. there is no kubernetes without etcd. much of the "secret sauce" of kubernetes is the "watch etcd" logic that "watches" desired state and does the cybernetic loop to bring the observed state adhere to the desired state.
trenchpilgrim|4 months ago
alphabettsy|4 months ago
unknown|4 months ago
[deleted]
itsnowandnever|4 months ago
jauntywundrkind|4 months ago
https://github.com/k3s-io/kine is a reasonably adequate substitute for etcd. sqlite, MySQL, PostgreSQL can also be substituted in. Etcd is from the ground up built to be more scale-out reliable, and that rocks to have baked in. But given how easy it is to substitute etcd out, I feel like we are at least a little off if we're trying to say "etcd is also the entire point of k8s" (the APIserver is)
dmlittle|4 months ago
itsnowandnever|4 months ago
unknown|4 months ago
[deleted]
geoctl|4 months ago
itsnowandnever|4 months ago
varispeed|4 months ago
Holy Raft protocol is the blockchain of cloud.
cyberax|4 months ago
Sorry, this is just BS. etcd is a fifth wheel in most k8s installations. Even the largest clusters are better off with something like a large-ish instance running a regular DB for the control plane state storage.
Yes, etcd theoretically protects against any kind of node failures and network partitions. But in practice, well, nobody really cares about the control plane being resilient against meteorite strikes and Cthulhu rising from the deeps.
itsnowandnever|4 months ago