Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-5768

ACM ArgoCD Automatic Sync disabling/pausing

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • GitOps
    • None
    • False
    • None
    • False
    • Not Selected

      Description of problem:

      • Customer is requesting clarity on the following:
      • - Please provide an option to disable or pause ArgoCD sync
      • - - ArgoCD sync needs to be:
      • - - - 1. Optionally disable system wide
      • - - - 2. Optionally disable on per cluster
      • Background:
      • - This is related to the mess that was cleaned up in parent case 03786217.
      • - - User logged into ArgoCD UI as 'kube-admin' and went to sync cluster around 12:40UTC
      • - - The operation was failing
      • - - They attempted to enable the 'prune' and 'force' buttons in the ArgoCD UI for sync and still failed
      • - - Then they enabled 'replace' option and synced [1] and it "worked"
      • - - Once done, this begun the process to re-provision the OCP clusters managed by Gitops+ZTP+ACM because 'replace' with 'force' will delete the object and re-create it
      • - - This appears to be user-error and they has claimed to have lost 6 months worth of data.
      • Relevant slack threads/channels:
      • https://redhat.enterprise.slack.com/archives/C06T78X8KU5
      • https://redhat-internal.slack.com/archives/C0125U6EZRS/p1712588183226619
      • https://redhat-internal.slack.com/archives/C05LM8QEB88/p1712593100181769

      [1] https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/#how-to-update-objects

        •  

      < What are we making, for who, and why/what problem are we solving?>

      Proposed to cu:
      There is no RFE for system/cluster wide pause of syncs. However the closest is the ability to use inheritance from global projects. You can define a global project from which other projects can inherit and define a sync window at the global level.

      https://argo-cd.readthedocs.io/en/stable/user-guide/projects/#configuring-global-projects-v18[https://argo-cd.readthedocs.io/en/stable/user-guide/sync_windows/]

       

      Reply from the cu:
      "There is no RFE for system/cluster wide pause of syncs." - I do expect an RFE. Proposed solution is not workable
      We dont need "owever the closest is the ability" but exactly what we are asking. This is very dangerous situation

              halawren@redhat.com Harriet Lawrence
              rhn-support-asoto Alvaro Soto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: