k0sproject / k0smotron

k0smotron
https://docs.k0smotron.io/
Other
508 stars 48 forks source link

Question about HA, etcd, and Kine #810

Closed franpog859 closed 1 week ago

franpog859 commented 1 week ago

I want to create an HA k0smotron setup, particularly the storage and the API Server. To achieve an HA API Server I need to have at least 3 replicas of the k0smotron control plane, so:

apiVersion: k0smotron.io/v1beta1
kind: Cluster
metadata:
  name: k0smotron-test
spec:
  replicas: 3

I see the etcd configuration that suggests it's possible to achieve storage HA with the etcd without any custom Kine setup. On the other hand, I see that the Kine setup is required for replicas > 1. I'm confused. I've also seen a blog post that suggests it's possible to achieve HA just with etcd. Could you elaborate on the possibilities for HA API Server and HA storage?

makhov commented 1 week ago

Hello!

Yes, now it's possible to run HA clusters with etcd, so the statement in the docs is obsolete. I've created a PR to remove it.

Thanks for your question!

franpog859 commented 1 week ago

Thanks! That's great news 🎉