Skip to content

Best way to make canary use cloned volumes ? #1852

@LelouBil

Description

@LelouBil

Hello, this issue should ideally be a discussion, so sorry if it's out of place.

I'm learning Kubernetes and the whole ecosystem, and have a GitOps setup with fluxcd, I am looking to integrate flagger.

However, one thing I would like (that I haven't found any documentation about online) is a way to make the Canary deployment use a clone/snapshot of volumes used by the previous deployment, to make sure that, in the case of a failed release, no modification is made to the volumes.

It seems that in theory I could make it using flagger's event webhooks (but that would mean making some kind of controller that does the correct kubernetes API calls), but I would be interested if there is a “recommended way” of doing something like this, or even if this is something that's impractical/not recommended (as I said I'm a beginner here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions