Red Hat shows how to bootstrap Argo CD agents across a fleet with GitOpsCluster
The Advanced Cluster Management guide shows how to select spoke clusters, route applications by cluster name, and keep hub workloads on a separate reconciliation path.
A Nov. 25 Red Hat Developer walkthrough shows how to bootstrap Argo CD agents across a fleet with Advanced Cluster Management for Kubernetes 5. The integration was already generally available; the new guide spells out how operators select participating clusters and decide where applications are authored and reconciled.
One resource selects the fleet
The example uses a GitOpsCluster resource to select the hub’s Argo CD instance and reference an Advanced Cluster Management Placement. The GitOps Add-on handles the principal and agent bootstrap, while the placement determines which managed clusters receive the add-on. The walkthrough then uses an ApplicationSet whose destination names match managed clusters, so the principal can route each application to its agent without putting API server addresses into the application template.
In managed mode, application definitions come from the hub, but reconciliation runs on each spoke. The spoke opens an outbound gRPC connection to the principal using mutual TLS; the add-on automates the certificate lifecycle. Red Hat says a spoke keeps reconciling its applications when it loses contact with the hub. That is the distinction for edge teams: central authoring does not require the hub to reach into every site to reconcile workloads.
Decide who owns application definitions
Managed mode fits teams that want the hub to control application specs across remote clusters. In autonomous mode, the spoke owns those specs and the hub sees a read-only copy. Hybrid mode keeps central authoring and adds a hub-side Argo CD controller for applications that run on the hub itself.
The guide calls out a configuration rule for hybrid fleets: exclude the hub from the GitOpsCluster placement. The hub controller reconciles hub-local workloads, while the agents handle remote destinations. Running both the controller and principal also means more work and additional permissions on the hub, so Red Hat recommends narrowing those permissions to what hub applications need.
For a pilot, start with a placement covering a small set of remote clusters. Check that the ApplicationSet names resolve to the intended agents and verify reconciliation during a planned interruption of the hub connection. For disconnected environments, the guide points to ManagedClusterImageRegistry to direct clusters to a mirror.
sources
comments · 0