I am planning to migrate data from one cluster to another cluster by taking snapshot of indices. In current k8s cluster, I do not have shared storage which is needed to define repo location. We are using rook-ceph block storage for elasticsearch cluster.
My first question, is shared path necessary for taking snapshot?
Second question is, can i use one PVC with ReadWriteMany with 3 elasticsearch sts objects? If yes, how would i define addition pvc information in values.yaml. I already defined volumeClaimTemplate: template in values.yaml.
Thanks for your reply. If use shared path and take the snapshot, is snapshot taken from each elasticsearch pod ( I have 3 replicas of elasticsearch pods) or it is taken only from only one pod?
okay, if I define one path in esconfig.yaml file like path.repo: ["/es-backup"], then each pod sanpshot would be stored under /es-backup path. When other pods of ealsticsearch initiates the snapshot, would that not overwrite existing snapshot? I am clear with the snapshot concept. Could you explain me clearly
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.