Query regarding synchronization of data inside volumes in stateful sets #7997
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
sig/scalability
Categorizes an issue or PR as relevant to SIG Scalability.
sig/storage
Categorizes an issue or PR as relevant to SIG Storage.
Describe the issue
Hello,
Being new to Kubernetes, I have a basic doubt regarding volume synchronization in statefulset.
I am working on a stateful application and trying to scale it up with multiple replicas,
I stumbled upon stateful set and was considering whether I can use it to implement my stateful application.
The application requires pods to be replicated and storage volume of all the replicated pods should be in sync and I was wondering if I can use statefulset for the same.
I went through documentation of stateful set but didn't found any block of document mentioning that kubernetes/statefulset synchronizes persistent volumes among multiple replicas of stateful set.
I need to confirm if I use stateful set to implement my stateful application then will kubernetes synchronize all the persistent volumes of all the pods or I need to implement some mechanism to manually synchronize data among the pods (e,g distributed file storage)
Thanks for the help in advance.
The text was updated successfully, but these errors were encountered: