Skip to content

Feature : use binary tree as sync-waves dependency graph for deployment #743

Open
@SebastienFelix

Description

@SebastienFelix

Hello dear ArgoCD users,

I would like to suggest a feature that would be pretty nice to have :
being able to define parallel branches of sync-waves deployments in order to deploy/sync resources without waiting an unnecessary amount of time. Here is an example of dependencies it would allow to fasten the deployment of :

Image

Resource2 & Resource4 would be deployed as soon as Resource1 is ready.
Resource3 would be deployed as soon as Resource2 is ready.
Resource5 would be deployed as soon as Resource4 is ready.

If we define the sync-waves using the following values :

Image

then we would have to wait for Resource4 to be ready before deploying Resource3, which we don't need.

If accepted by the community/maintainers, I already have a PR that would be ready for review.
From an user point of view, my solution would consists in adding an annotation to the desired resources which would allow to define a partial ordering on the desired syncwaves.

What do you think?

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