Hello everyone,
I am trying to implement the xwiki helm chart in High availability but
facing some problems.
How we can implement High Availability(HA) in Kubernetes:-
1. Through Deployment:- In this approach, we would use shared file
storage, that would get attached to multiple pods(or containers)
2. Through StatefulSet:- In this approach, every pod(or container) would
have its own different volume and state, which should be synchronized by a
consensus algorithm
Problem faced in XWiki case:-
1. In deployment case we need a locking mechanism for our filesystem,
moreover caching and states should also be maintained outside the container.
2. In StatefulSet the consensus algorithm is not present so it is currently
not possible.
Could anyone help me through it?
Thanks,
Ashish