Skip to content

snapshot backup of multi-instances application should only take snapshot of the same PVC once #8745

Open
@famfop

Description

@famfop

Describe the problem/challenge you have

Currently it is particularly difficult to configure a backup of a multi-node app. E.g. I am running an elasticsearch cluster with 3 nodes (one master). It is easy to configure a pre-hook to check whether the node is a master node and run snapshot commands correspondingly, but ultimately my PodAnnotations are on all nodes of my app and thus a snapshot-dir is backed up 3 times instead of one - I am using file-system backup but assume this will be the same for volumesnapshot backups.

Describe the solution you'd like
I would like to be able to configure the backup on "service level", i.e. my headless service is aware of my cluster-endpoint, I could already configure snapshots there and only run one backup of the data - if my service was aware of that data.

Anything else you would like to add:
The same applies to mongo and probably all "multi-node" or "horizontally scaled" services.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions