在 Google Cloud Platform 上的 OpenShift Dedicated 上安装 Red Hat Developer Hub
Red Hat Developer Hub 1.4
摘要
Red Hat Developer Hub 是一个用于构建开发人员门户的企业级平台。管理用户可配置角色、权限和其他设置,以便其他授权用户使用 Operator 或 Helm Chart 在 Red Hat OpenShift Dedicated 上部署 Developer Hub 实例。
前言 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
您可以使用以下方法之一在 Google Cloud Platform (GCP)上安装 OpenShift Dedicated 上的 Developer Hub:
- Red Hat Developer Hub Operator
- Red Hat Developer Hub Helm chart
您可以使用 Red Hat Developer Hub Operator 在 GCP 上的 OpenShift Dedicated 上安装 Developer Hub。
先决条件
- 您有一个有效的 GCP 帐户。
- 您的 OpenShift Dedicated 集群在 GCP 上运行。如需更多信息,请参阅 Red Hat OpenShift Dedicated 文档中的在 GCP 上创建集群。
- 具有 OpenShift Dedicated 集群和 GCP 项目的管理员访问权限。
流程
- 在 OpenShift Container Platform Web 控制台的 Administrator 视角中,点 Operators > OperatorHub。
- 在 Filter by keyword 框中,输入 Developer Hub 并点 Red Hat Developer Hub Operator 卡。
- 在 Red Hat Developer Hub Operator 页面中,点 Install。
- 在 OpenShift Container Platform 控制台中,导航到 Installed Operators 并选择 Red Hat Developer Hub Operator。
- 在 Developer Hub Operator 页面中,点击 Create New Instance,并指定您要部署 Developer Hub 的名称和命名空间。
- 配置所需的设置,如 Git 集成、secret 管理和用户权限。
- 检查配置,选择部署选项,然后单击 Create。
验证
- 要访问 Developer Hub,请导航到 OpenShift Container Platform Web 控制台中提供的 Developer Hub URL。
您可以使用 Red Hat Developer Hub Helm Chart 在 GCP 上的 OpenShift Dedicated 上安装 Developer Hub。
先决条件
- 您有一个有效的 GCP 帐户。
- 您的 OpenShift Dedicated 集群在 GCP 上运行。如需更多信息,请参阅 Red Hat OpenShift Dedicated 文档中的在 GCP 上创建集群。
- 已安装 Helm 3 或最新的。
流程
- 从 Developer Hub web 控制台的 Developer 视角,点 +Add。
- 在 Developer Catalog 面板中点击 Helm Chart。
- 在 Filter by keyword 框中,输入 Developer Hub 并点 Red Hat Developer Hub 卡。
- 在 Red Hat Developer Hub 页面中,单击 Create。
-
在集群中,复制 OpenShift Container Platform 路由器主机(例如:
apps.<clusterName>.com)。 选择单选按钮,以使用表单视图或 YAML 视图来配置 Developer Hub 实例。Form 视图 会被默认选择。
使用 Form view
- 要使用 Form 视图配置实例,请转至 Backstage 实例中 Root Schema → global → Enable service authentication,并将 OpenShift Container Platform 路由器主机粘贴到表单上的字段。
使用 YAML 视图
要使用 YAML 视图配置实例,请将 OpenShift Container Platform 路由器主机名粘贴到
global.clusterRouterBase参数值中,如下例所示:global: auth: backend: enabled: true clusterRouterBase: apps.<clusterName>.com # other Red Hat Developer Hub Helm Chart configurations
- 如果需要,编辑其他值,然后点 Create 并等待数据库和 Developer Hub 启动。
验证
- 要访问 Developer Hub,点 Open URL 图标。
法律通告 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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.