GitOps high-availability mode

更新时间:
复制 MD 格式

ACK One GitOps supports running Argo CD in high-availability mode. Compared with the default mode, high-availability mode runs additional Deployments to ensure sufficient resources for Argo CD components and tunes their parameters. Use GitOps high-availability mode when you manage more than 20 associated clusters or more than 200 Applications.

Usage notes

Prerequisites

Enable GitOps high-availability mode

  1. Enable GitOps high-availability mode for your ACK One fleet.

    1. If you have not enabled public access for GitOps:

      aliyun adcp UpdateHubClusterFeature --ClusterId <YOUR-FLEET-ID> --ArgoCDEnabled true --ArgoCDHAEnabled true
    2. If you have already enabled public access for GitOps:

      aliyun adcp UpdateHubClusterFeature --ClusterId <YOUR-FLEET-ID> --ArgoCDEnabled true --ArgoCDHAEnabled true --PublicAccessEnabled true 
  2. Verify that high-availability mode is enabled.

    aliyun adcp DescribeHubClusterDetails --ClusterId <YOUR-FLEET-ID> | grep -B3 -A2 HA

    Expected output. HAEnabled is true, confirming the feature is enabled.

    "ACKOne": {
      "GitOps": {
        "Enabled": true,
        "HAEnabled": true
      }
    }

Disable GitOps high-availability mode

  1. Disable GitOps high-availability mode for your ACK One fleet.

    aliyun adcp UpdateHubClusterFeature --ClusterId <YOUR-FLEET-ID> --ArgoCDEnabled true --ArgoCDHAEnabled false 
  2. Log on to the PrivateZone console. On the Private Zone page, find the svc.cluster.local.<fleet-id> domain and delete all resolution records ending with .argocd.