github.com/argoproj-labs/argocd-operator@v0.10.0/docs/usage/ha.md (about)

     1  # High Availability
     2  
     3  The Argo CD operator supports high availability through the mechanism described in the Argo CD [documentation][argocd_ha].
     4  
     5  To enable HA for an Argo CD cluster, include the `ha` section in the `ArgoCD` Custom Resource.
     6  
     7  !!! note
     8      When `ha` is enabled, changes to `.spec.redis.resources` doesn't have any effect. Redis resource limits can be set using `.spec.ha.resources`.
     9  
    10  ``` yaml
    11  apiVersion: argoproj.io/v1alpha1
    12  kind: ArgoCD
    13  metadata:
    14    name: example-argocd
    15    labels:
    16      example: ha
    17  spec:
    18    ha:
    19      enabled: true
    20      redisProxyImage: haproxy
    21      redisProxyVersion: "2.0.4"
    22  ```
    23  
    24  ## OpenShift
    25  
    26  When running the Argo CD operator on OpenShift, you must apply the `anyuid` SCC to the Service Account for Redis prior to creating an `ArgoCD` Custom Resource.
    27  
    28  ``` bash
    29  oc adm policy add-scc-to-user anyuid -z argocd-redis-ha
    30  ```
    31  
    32  If the above step is not performed, the StatefulSet for HA Redis will not be able to create Pods.
    33  
    34  [argocd_ha]:https://argoproj.github.io/argo-cd/operator-manual/high_availability