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
-
In high-availability mode, GitOps uses six 2-vCPU, 4 GB ECI instances and one 4-vCPU, 8 GB ECI instance, and creates a few PrivateZone records. See Elastic Container Instance billing overview and PrivateZone product billing.
-
High-availability mode supports up to 2,000 applications. If you exceed this limit and encounter performance issues, submit a ticket or join DingTalk group 35688562.
Prerequisites
You have enabled the fleet management feature.
-
GitOps is enabled in the ACK One fleet instance.
-
The AliyunAdcpServerlessKubernetesRole role is granted to your account in the ACK One console.
ImportantIf you are logged in as a RAM user, your Alibaba Cloud account must also grant the RAM user the
GetRolepermission for RAM or attach the AliyunRAMReadOnlyAccess permission policy. Otherwise, the console will not function correctly. -
Alibaba Cloud CLI v3.0.172+ is installed and credentials are configured.
Enable GitOps high-availability mode
-
Enable GitOps high-availability mode for your ACK One fleet.
-
If you have not enabled public access for GitOps:
aliyun adcp UpdateHubClusterFeature --ClusterId <YOUR-FLEET-ID> --ArgoCDEnabled true --ArgoCDHAEnabled true -
If you have already enabled public access for GitOps:
aliyun adcp UpdateHubClusterFeature --ClusterId <YOUR-FLEET-ID> --ArgoCDEnabled true --ArgoCDHAEnabled true --PublicAccessEnabled true
-
-
Verify that high-availability mode is enabled.
aliyun adcp DescribeHubClusterDetails --ClusterId <YOUR-FLEET-ID> | grep -B3 -A2 HAExpected output.
HAEnabledistrue, confirming the feature is enabled."ACKOne": { "GitOps": { "Enabled": true, "HAEnabled": true } }
Disable GitOps high-availability mode
-
Disable GitOps high-availability mode for your ACK One fleet.
aliyun adcp UpdateHubClusterFeature --ClusterId <YOUR-FLEET-ID> --ArgoCDEnabled true --ArgoCDHAEnabled false -
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.