The Topology Aware Lifecycle Manager (TALM) remediates a set of
inform policies for the clusters specified in the
ClusterGroupUpgrade CR. TALM remediates
inform policies by making
enforce copies of the managed RHACM policies. Each copied policy has its own corresponding RHACM placement rule and RHACM placement binding.
One by one, TALM adds each cluster from the current batch to the placement rule that corresponds with the applicable managed policy. If a cluster is already compliant with a policy, TALM skips applying that policy on the compliant cluster. TALM then moves on to applying the next policy to the non-compliant cluster. After TALM completes the updates in a batch, all clusters are removed from the placement rules associated with the copied policies. Then, the update of the next batch starts.
If a spoke cluster does not report any compliant state to RHACM, the managed policies on the hub cluster can be missing status information that TALM needs. TALM handles these cases in the following ways:
If a policy’s
status.compliant field is missing, TALM ignores the policy and adds a log entry. Then, TALM continues looking at the policy’s
If a policy’s
status.status is missing, TALM produces an error.
If a cluster’s compliance status is missing in the policy’s
status.status field, TALM considers that cluster to be non-compliant with that policy.
Applying update policies to managed clusters
You can update your managed clusters by applying your policies.
Install the Topology Aware Lifecycle Manager (TALM).
Provision one or more managed clusters.
Log in as a user with
Create RHACM policies in the hub cluster.
Save the contents of the
ClusterGroupUpgrade CR in the
maxConcurrency: 2 (3)
timeout: 240 (4)
||The name of the policies to apply.
||The list of clusters to update.
maxConcurrency field signifies the number of clusters updated at the same time.
||The update timeout in minutes.