View optimization data on Red Hat Developer Hub
For organizations that want to isolate developers from the Red Hat Hybrid Cloud Console, cost management cost and resource optimization information is available through a plug-in on Red Hat Developer Hub.
The cost management plug-in for Red Hat Developer Hub displays OpenShift cost and optimization information and can be combined with the orchestrator plug-in, which you can use to define workflows using YAML files. This combination provides your organization with the ability to define a no-code workflow. The orchestrator can automatically apply a new recommendation or trigger actions such as sending an email, creating a Service Now or Jira ticket, or automatically applying the recommendation to the live cluster without restarting the workload. Developers are responsible for configuring how the optimizations interact with the orchestrator by defining the orchestrator workflows, which are constantly running and listening for events.
The cost management information, including the optimization data, is accessible within Developer Hub and can be exported as CSV or JSON files. The same cost management API is available through the Developer Hub plugin, allowing for automated actions beyond optimizations, such as monitoring project costs and taking action such as shutting down a project or sending a warning if a budget is exceeded.
Configure resource optimization for OpenShift on Red Hat Developer Hub Copy linkLink copied!
Configure the Red Hat Developer Hub dynamic plug-in for Red Hat Lightspeed cost management to view automated OpenShift resource optimization recommendations.
Before you begin Copy linkLink copied!
- Red Hat Developer Hub is installed and configured.
- The Red Hat Developer Hub orchestrator plug-in is installed. See the Installing Red Hat Developer Hub with Orchestrator by using the Red Hat Developer Hub Operator section of Orchestrator in Red Hat Developer Hub for more information.
- An OpenShift cluster is configured for Red Hat Developer Hub and Red Hat Lightspeed cost management.
- A Red Hat service account is configured with the Cost OpenShift Viewer role, to view both OpenShift cost data and optimization recommendations within the plugin. See the "Configuring service account authentication for the cost management metrics operator" section in ../integrate/integrate-rhocp-data-with-cost-management.ditamap#integrate-rhocp-data-with-cost-management for information about service accounts in cost management.
Procedure Copy linkLink copied!
View resource optimization data in Red Hat Developer Hub Copy linkLink copied!
View current OpenShift resource usage and recommendations for improvement in Red Hat Developer Hub to optimize costs and performance.
Before you begin Copy linkLink copied!
- You are logged in to Red Hat Developer Hub.
- Cost management has received at least 24 hours of data from the operator.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
To understand optimization recommendations, see Resource optimization current and recommended configurations.