升级 Red Hat Developer Hub


Red Hat Developer Hub 1.3

Red Hat Customer Content Services

摘要

您可以使用 Operator 或 Helm Chart 将 Red Hat Developer Hub 实例从 OpenShift Container Platform Web 控制台升级到更新的版本。

第 1 章 升级 Red Hat Developer Hub Operator

如果使用 Operator 部署 Red Hat Developer Hub 实例,则管理员可以使用 OpenShift Container Platform Web 控制台将 Operator 升级到更新的版本。

OpenShift Container Platform 目前从 4.14 升级到 4.17。另请参阅 Red Hat Developer Hub 生命周期

先决条件

  • 以管理员身份在 OpenShift Container Platform Web 控制台中登录。
  • 已安装 Red Hat Developer Hub Operator。
  • 您已在项目中配置了适当的角色和权限,以创建或访问应用程序。如需更多信息,请参阅有关构建应用程序的 Red Hat OpenShift Container Platform 文档

流程

  1. 在 OpenShift Container Platform Web 控制台的 Administrator 视角中,点 Operators > Installed Operators
  2. Installed Operators 页面中,点 Red Hat Developer Hub Operator
  3. Red Hat Developer Hub Operator 页面中,点 Subscription 选项卡。
  4. Subscription 详情页面的 Upgrade status 字段中,单击 Upgrade available

    注意

    如果没有可用的升级,Upgrade status 字段值为 Up to date

  5. InstallPlan 详情页中,点 Preview InstallPlan > Approve

验证

  • Subscription details 页面中的 Upgrade status 字段值是 Up to date

第 2 章 升级 Red Hat Developer Hub Helm Chart

您可以使用 Web 控制台或 CLI 升级到 OpenShift Container Platform 中的 Red Hat Developer Hub 版本。

  • OpenShift Container Platform Web 控制台

    1. Developer 视角中,点 Helm 打开 Helm Releases 选项卡。
    2. 点击您要使用的 Helm 发行版本上的 overflow 菜单,然后选择 Upgrade
    3. Upgrade Helm Release 页面中,从 chart 版本下拉列表中选择要升级到的 Developer Hub 版本。
    4. 单击 Upgrade

      注意

      删除旧版本资源并启动 Developer Hub pod 的更新版本可能需要几分钟时间。

    5. 关闭所有打开的 Developer Hub 网页,并再次登录以验证升级是否成功。
  • OpenShift Container Platform CLI

    1. 以集群管理员身份登录 OpenShift Container Platform 集群,并切换到安装 Developer Hub 的项目或命名空间。

      oc login -u <user> -p <password> https://api.<HOSTNAME>:6443
      oc project <your_namespace>
      Copy to Clipboard
    2. 对于 Developer Hub Helm Chart 的新版本,运行以下命令:

      helm upgrade -i rhdh -f new-values.yml \
        openshift-helm-charts/redhat-developer-hub --version 1.3.5
      Copy to Clipboard
      注意

      您还可以通过在工作站上创建一个 new-values.yml 文件来向 Chart 提供额外的值,其值会覆盖已安装 chart 中的属性或添加新属性。

法律通告

Copyright © 2025 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 http://creativecommons.org/licenses/by-sa/3.0/. 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.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat