Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-1245

Allow setting replicas for argocd-repo-server and argocd-server

    XMLWordPrintable

Details

    • 5
    • GITOPS Sprint 209, GITOPS Sprint 208, GITOPS Sprint 210
    • Hide
      * With this update, the Operator enables you to specify the number of desired replicas for the `argocd-server` and `argocd-repo-server` components by setting the `.spec.server.replicas` and `.spec.repo.replicas` attributes in the Argo CD custom resource, respectively. If the horizontal pod autoscaler (HPA) is configured for the `argocd-server` components, it takes precedence over the Argo CD custom resource attributes. link:https://issues.redhat.com/browse/GITOPS-1245[GITOPS-1245]
      Show
      * With this update, the Operator enables you to specify the number of desired replicas for the `argocd-server` and `argocd-repo-server` components by setting the `.spec.server.replicas` and `.spec.repo.replicas` attributes in the Argo CD custom resource, respectively. If the horizontal pod autoscaler (HPA) is configured for the `argocd-server` components, it takes precedence over the Argo CD custom resource attributes. link: https://issues.redhat.com/browse/GITOPS-1245 [ GITOPS-1245 ]
    • False

    Description

      As a user of OpenShift GitOps, I want to be able to control the number of replicas for the argocd-server and argocd-repo-server workloads. As these workloads are stateless, the replica count can be increased to distribute the workload better among pods.

      This can be implemented independently of a full-fledged HA setup.

      Acceptance criteria:

      • Options exist in the ArgoCD CR spec to set the number of replicas for argocd-server and argocd-repo-server workloads respectively
      • The default value - if option is not specified - should be 1 replica
      • The Operator reconciles the setting into actual workloads
      • If HPA is configured for argocd-server, its setting should take precedence and replica setting for argocd-server should be ignored

      Attachments

        Activity

          People

            rescott1 Regina Scott
            jfischer@redhat.com Jann Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: