Elastic search as statefulset in kubernetes cluster

how can we sync the data between 2 persistent volume when Elasticsearch is deployed as statefulset in kubernetes cluster.
when we are scaling up pods then new pv is created and data is not sync. How can we sync the data between 2 pvs. suppose pod 1 is having pv1 and pod 2 is having pv2. data present in pv1 is not available in pv2. when application is trying to fetch the data then it is showing no record present. Please help

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.