OpenShift Container Platform cluster registration
To monitor cluster health and receive recommendations from Red Hat Lightspeed advisor, you must register an OpenShift Container Platform cluster to OpenShift Cluster Manager and have an active Red Hat subscription.
By default, every OpenShift Container Platform cluster automatically registers to OpenShift Cluster Manager the first time the cluster boots after installation.
OpenShift Container Platform clusters report health and usage data to Red Hat through Telemetry and the Red Hat Lightspeed operator when registered in OpenShift Cluster Manager. These are referred to as connected clusters.
Occasionally an OpenShift Container Platform cluster does not automatically register to the OpenShift Cluster Manager service (referred to as a disconnected cluster), for example if:
- the cluster was created in an air-gapped environment and cannot reach OpenShift Cluster Manager to inform OpenShift Cluster Manager it has been created
- you disabled the Telemeter client
- your cluster cannot connect to
api.openshift.com
In this situation, you can register a disconnected cluster to OpenShift Cluster Manager manually using the OpenShift Cluster Manager cluster registration page, linked in Additional resources. You can also enter your Red Hat subscription details on that page to subscribe your cluster to Red Hat support.
After an OpenShift Container Platform cluster is registered and subscribed, you can monitor your subscription capacity and usage on the Container Platform subscriptions page, linked in Additional resources.
Verify your OpenShift Container Platform cluster registration and subscription Copy linkLink copied!
In OpenShift Cluster Manager, you can verify that your OpenShift Container Platform cluster is registered and has a Red Hat subscription.
Before you begin Copy linkLink copied!
- A Red Hat login
- An OpenShift Container Platform cluster
- The Cluster Owner or Cluster Editor role on the cluster, or Organization Administrator privileges in your Red Hat account, if you want to edit subscription settings
About this task Copy linkLink copied!
OpenShift Container Platform clusters register with OpenShift Cluster Manager automatically by sending Telemetry, the cluster health and usage data that the Telemeter Client reports to Red Hat. A registered cluster is a connected cluster. If Telemetry is disabled or blocked on your network, you must register your cluster manually.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
If your cluster has no subscription, or you need to update its settings, see Configure OpenShift Container Platform cluster subscriptions.
Register disconnected clusters Copy linkLink copied!
You can register disconnected OpenShift Container Platform clusters with OpenShift Cluster Manager to monitor cluster health and get alerts and recommendations from the Red Hat Lightspeed advisor service.
Before you begin Copy linkLink copied!
- An OpenShift Container Platform cluster
- A Red Hat subscription
- The Cluster Owner or Cluster Editor role on the cluster, or Organization Administrator privileges in your Red Hat account
About this task Copy linkLink copied!
A disconnected cluster can't report to Red Hat automatically, so you register it manually by entering its details in OpenShift Cluster Manager.
To change the subscription settings of a cluster that you already registered, go to the Clusters page, open the overflow menu for the cluster, and select Edit subscription settings.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
To verify the registration and subscription:
- On the Clusters page, confirm that your cluster is listed, and click its name.
- On the Overview tab, check the Subscription settings section for the values you entered.
- In Subscription Services, go to Subscriptions Usage and confirm that it shows subscription information for your cluster.
Register disconnected clusters using ocm-cli Copy linkLink copied!
You can use the ocm-cli tool to register and subscribe multiple disconnected OpenShift Container Platform clusters at one time, so that you can monitor cluster health and get recommendations from the Red Hat Lightspeed advisor service.
Before you begin Copy linkLink copied!
- An OpenShift Container Platform cluster
- A Red Hat subscription
- Organization Administrator privileges in your Red Hat account, or cluster owner privileges on the cluster
- The
ocm-clitool, installed by following the instructions in the ocm-cli GitHub repository - Your OpenShift Cluster Manager offline access token, from the OpenShift Cluster Manager API token page
About this task Copy linkLink copied!
Registering many disconnected clusters one at a time can take a long time and lead to errors or subscription issues. With the ocm-cli tool, you can register and subscribe multiple disconnected clusters at one time instead of using the OpenShift Cluster Manager UI.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
To verify the registration and subscription:
- In OpenShift Cluster Manager, click your cluster in the Clusters list.
- On the Overview tab, check the Subscription settings section for the values you configured.
- In Subscription Services, go to Subscriptions Usage and confirm that it shows subscription information for your cluster.