Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the current implementation, the seaweedfs-controller's StatefulSet is a single instance (1 replica). This presents a SPOF. When the node serving the seaweedfs-controller unexpectedly goes down, and stays down, Kubernetes by design does not recreate StatefulSets elsewhere, and the seaweedfs-controller becomes unavailable.
In an effort to remove this SPOF, and to make the seaweedfs-controller resilient, we have experimented with 2 replicas.
The seaweedfs-csi-driver seems to still work fine. And if one of seaweedfs-controller pods goes down, the second one keeps the whole system still working.
QUESTION 1 - is this a valid configuration from the point of how the seaweedfs-csi solution is designed and implemented? ...Could two or more replicas of seaweedfs-controller StatefulSet create issues that we don't see on the surface (yet)?
QUESTION 2 - is there perhaps a better way to create redundant seaweedfs-controller, to avoid the single-point-of-failure?
Beta Was this translation helpful? Give feedback.
All reactions