Skip to content

[ENHANCE] argo rollout restart state preservation #1144

Description

@brunomiguel-teixeira

Is your feature request related to a problem? Please describe.
Right now, when using Restart strategy with Argo Rollouts there is problem that if the reloader controller is failing over leader, or restarting/moving, the config change events will be missed and the restartAt operation will never be fired.

Describe the solution you'd like
How about, similar to annotation implementation, we also submit an annotation to the Argo Rollout object in the same request we issue the spec.restartAt. Adding the annotation will ensure the controller knows if a restart has been issued for that particular config (secrets/cms), and ensure even during restarts, no events will be missed (via the syncAfterRestart)

Additionally, submitting both restartAt and annotation is a single atomic request also minimizes complexity.

Describe alternatives you've considered
EnvVars cause unwanted rollouts.

Additional context
Happy to submit PR if approved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions