Hi Team,
I'm running Elastic search cluster in k8s environment. And I'm using Velero and restic for the backup and restore.
But I'm not able to backup the elastic search cluster, as I could not freeze the volume using fsfreeze(which runs as pre-hook before backup)
Error:
stderr: fsfreeze: (opts & 1) ? FIFREEZE : FITHAW: Operation not permitted\n" backup=es-system/backup-namespace-20200609170614 group=v1 hookCommand="[fsfreeze --freeze /usr/share/elasticsearch/data]" hookContainer=fsfreeze hookName="<from-annotation>" hookOnError=Fail hookPhase=pre hookSource=annotation hookTimeout="{30s}" hookType=exec logSource="pkg/podexec/pod_command_executor.go:172" name=elasticsearch-master-1 namespace=elk resource=pods
Would you please help me how to achieve the freeze of Volume?
Thanks
Rajashree