OpenShift 的资源优化入门

Cost Management Service 1-latest

了解 OpenShift 的资源优化

Red Hat Customer Content Services


了解如何为 OpenShift 使用资源优化来优化 OpenShift 集群中项目中的容器和 pod 的大小,并改进集群中节点的大小和容量管理。


作为成本管理用户,您可以使用 OpenShift 服务的资源优化,通过适合您的 Red Hat OpenShift 部署来监控和控制您的成本。另外,您可以使用 OpenShift 服务的资源优化来完成以下任务:

  • 报告应用程序和部署的使用量。
  • 优化 pod 的大小。
  • 管理成本。

第 1 章 先决条件

第 2 章 了解 OpenShift 的资源优化

作为成本管理的一部分,OpenShift 的资源优化会评估并监控所有集群中的使用情况,以最大化您的 Red Hat OpenShift 资源。使用 OpenShift 的当前和历史数据,OpenShift 的资源优化建议操作优化您的 OpenShift 集群的成本。

该服务显示 CPU 和内存用量的指标,分析这些指标,并比较定义的容器请求和限值。使用您添加到成本管理的集成数据,OpenShift 的资源优化会分析历史使用模式来返回优化建议。此数据可以提供更好的资源分配,并帮助您在 OpenShift 集群部署中节省资金。

第 3 章 查看 OpenShift 优化报告的资源优化

Red Hat Hybrid Cloud Console 访问 OpenShift 的资源优化,查看如何优化 Red Hat OpenShift 集群的详细建议。


  • 您已将 OpenShift 集成添加到成本管理或混合承诺的花费。
  • 您已从 Operator 上传了至少 24 小时的数据。
  • 登录到 Red Hat Hybrid Cloud 控制台


  1. 登录到 Red Hat Hybrid Cloud 控制台
  2. Services 菜单中,单击 Spend ManagementCost Management
  3. 在 Global Navigation 中,点 Cost Management
  4. 在 Optimizations 页面中,搜索优化或过滤优化。
  5. 点击表中的行,查看 OpenShift 建议的资源优化详情。
  6. 要查看有关 OpenShift 建议的资源优化详情,请点击表中的行。


Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.