Monitoring managed cluster installation progress
The Argo CD pipeline syncs the ClusterInstance CR from the Git repository to the hub cluster. The SiteConfig Operator then processes the ClusterInstance CR and generates the required cluster configuration CRs. You can monitor the progress of the cluster installation from the RHACM dashboard or from the command line.
Prerequisites
-
You have installed the OpenShift CLI (
oc). -
You have logged in to the hub cluster as a user with
cluster-adminprivileges.
Procedure
-
Monitor the progress of cluster installation by running the following commands:
-
Export the cluster name:
$ export CLUSTER=<clusterName> -
Query the
AgentClusterInstallCR for the managed cluster:$ oc get agentclusterinstall -n $CLUSTER $CLUSTER -o jsonpath='{.status.conditions[?(@.type=="Completed")]}' | jq -
Get the installation events for the cluster:
$ curl -sk $(oc get agentclusterinstall -n $CLUSTER $CLUSTER -o jsonpath='{.status.debugInfo.eventsURL}') | jq '.[-2,-1]'
-