Questo contenuto non è disponibile nella lingua selezionata.
Chapter 4. Installing power monitoring for Red Hat OpenShift
Power monitoring is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
You can install power monitoring for Red Hat OpenShift by deploying the Power Monitoring Operator in the OpenShift Container Platform web console.
4.1. Installing the Power Monitoring Operator Copia collegamentoCollegamento copiato negli appunti!
As a cluster administrator, you can install the Power Monitoring Operator from OperatorHub by using the OpenShift Container Platform web console.
You must remove any previously installed versions of the Power Monitoring Operator before installation.
Prerequisites
- You have access to the OpenShift Container Platform web console.
-
You are logged in as a user with the
cluster-admin
role.
Procedure
-
In the web console, go to Operators
OperatorHub. -
Search for
power monitoring
, click the Power monitoring for Red Hat OpenShift tile, and then click Install. Click Install again to install the Power Monitoring Operator.
Power monitoring for Red Hat OpenShift is now available in all namespaces of the OpenShift Container Platform cluster.
Verification
-
Verify that the Power Monitoring Operator is listed in Operators
Installed Operators. The Status should resolve to Succeeded.
4.2. Deploying PowerMonitor custom resource Copia collegamentoCollegamento copiato negli appunti!
You can deploy Kepler by creating an instance of the PowerMonitor
custom resource (CR) using the Power Monitoring Operator.
The Kepler
custom resource definition (CRD) has been deprecated and will be removed in a future release. Use the PowerMonitor
custom resource instead.
Prerequisites
- You have access to the OpenShift Container Platform web console.
-
You are logged in as a user with the
cluster-admin
role. - You have installed the Power Monitoring Operator.
Procedure
-
In the web console, go to Operators
Installed Operators. - Click Power monitoring for Red Hat OpenShift from the Installed Operators list and go to the PowerMonitor tab.
- Click Create PowerMonitor.
On the Create PowerMonitor page, ensure the Name is set to
power-monitor
.ImportantThe name of your
PowerMonitor
instance must be set topower-monitor
. All other instances are ignored by the Power Monitoring Operator.- Click Create to deploy the PowerMonitor and power monitoring dashboards.