Skip to content

Clarification on update strategy #1015

@JakubSzuber

Description

@JakubSzuber

Hi, I'm opening this issue because I want to clarify something, and this repo doesn't have discussions enabled.

According to the docs the default update startegy is rollout, and the docs warns that this strategy cannot be used with GitOps agent, as Reloader will patch the deployment, and e.g. Argo CD will see some drift => try to sync.

I test this out on my setup with Argo CD (auto-sync enabled) and the default Reloader startegy (rollout), and everything seems to work perfectly fine!

On ConfigMap update, the Reloader updates (patch) value of STAKATER_TS_FRONTEND_CONFIGMAP variables in the deployment manifest, so the rolling update is performed and Argo CD does nothing because ArgoCD not reporting diff in environment variable configuration, so there is no sync done after patch from Reloader.

Everything works without restart strategy, so either this section is wrong and requires a fix, or I miss something.

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