gardener / landscaper

Development of Landscaper - A deployer for K8S workloads with integrated data flow engine.
Apache License 2.0
56 stars 34 forks source link

Strategy for Backup Handling #307

Closed danielfoehrKn closed 1 year ago

danielfoehrKn commented 3 years ago

How to categorize this issue?

/area backup /kind enhancement /priority 2

What would you like to be added:

A clear picture of how state generated in components (generated secrets etc.) is backed up. I gave it a high prior, as it has implications on the design of components currently under development (see here)

Why is this needed:

Components like the virtual-garden are designed to

Generally currently reuses secrets stored in Secret resources in the Cluster. As such the Cluster acts as the "state store".

However, this is insufficient because

As a consequence, we should define a clear picture of how state generated in components (generated secrets etc.) is backed up.

Proposal

danielfoehrKn commented 3 years ago

Probably that should not be the concern of the landscaper as a generic installation tooling, but of a Controller/Operator using the landscaper itself. I want to prevent to stuff the landscaper with too many generic features which could be easily solved by a specific operator. I will elaborate on this once the idea is more refined.

Edit: not discussed. Open for solutions. Probably best in the landscaper as generic functionality.

danielfoehrKn commented 2 years ago

We could just use Velero to backup secrets in the landscaper cluster to e.g S3. This way we do not have to build our own, landscaper-specific, backup solution.

achimweigel commented 1 year ago

@In-Ko closed because outdated and/or copied into internal project