Installing the Topology Aware Lifecycle Manager by using the CLI
You can use the OpenShift CLI (oc) to install the Topology Aware Lifecycle Manager (TALM).
Prerequisites
-
Install the OpenShift CLI (
oc). -
Install the latest version of the RHACM Operator.
-
TALM requires RHACM 2.9 or later.
-
Set up a hub cluster with disconnected registry.
-
Log in as a user with
cluster-adminprivileges.
Procedure
-
Create a
SubscriptionCR:-
Define the
SubscriptionCR and save the YAML file, for example,talm-subscription.yaml:apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: openshift-topology-aware-lifecycle-manager-subscription namespace: openshift-operators spec: channel: "stable" name: topology-aware-lifecycle-manager source: redhat-operators sourceNamespace: openshift-marketplace -
Create the
SubscriptionCR by running the following command:$ oc create -f talm-subscription.yaml
-
Verification
-
Verify that the installation succeeded by inspecting the CSV resource:
$ oc get csv -n openshift-operatorsExample outputNAME DISPLAY VERSION REPLACES PHASE topology-aware-lifecycle-manager.{product-version}.x Topology Aware Lifecycle Manager {product-version}.x Succeeded -
Verify that the TALM is up and running:
$ oc get deploy -n openshift-operatorsExample outputNAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE openshift-operators cluster-group-upgrades-controller-manager 1/1 1 1 14s