Google Cloud Platform의 OpenShift Dedicated에 Red Hat Developer Hub 설치


Red Hat Developer Hub 1.5

Operator 또는 Helm 차트를 사용하여 Red Hat OpenShift Dedicated에서 Red Hat Developer Hub 실행

Red Hat Customer Content Services

초록

플랫폼 관리자는 역할, 권한 및 기타 설정을 구성하여 다른 권한이 있는 사용자가 Operator 또는 Helm 차트를 사용하여 GCP(Google Cloud Platform)의 Red Hat OpenShift Dedicated에 Developer Hub 인스턴스를 배포할 수 있도록 할 수 있습니다.

머리말

다음 방법 중 하나를 사용하여 OpenShift Dedicated의 GCP(Google Cloud Platform)에 Developer Hub를 설치할 수 있습니다.

  • Red Hat Developer Hub Operator
  • Red Hat Developer Hub Helm 차트
중요

developer Hub 인스턴스의 외부 URL과 일치하도록 app-config.yaml 에서 baseUrl 을 설정해야 합니다. 이 값은 Red Hat Developer Hub가 올바르게 작동하는 데 필요합니다. 설정되지 않은 경우 프런트 엔드 및 백엔드 서비스가 올바르게 통신할 수 없으며 기능이 예상대로 작동하지 않을 수 있습니다.

1장. Operator를 사용하여 GCP의 OpenShift Dedicated에 Red Hat Developer Hub 설치

Red Hat Developer Hub Operator를 사용하여 GCP의 OpenShift Dedicated에 Developer Hub를 설치할 수 있습니다.

사전 요구 사항

  • 유효한 GCP 계정이 있어야 합니다.
  • OpenShift Dedicated 클러스터가 GCP에서 실행되고 있습니다. 자세한 내용은 Red Hat OpenShift Dedicated 설명서에서 GCP에서 클러스터 생성 을 참조하십시오.
  • OpenShift Dedicated 클러스터 및 GCP 프로젝트에 대한 관리자 액세스 권한이 있습니다.

프로세스

  1. OpenShift Container Platform 웹 콘솔 메뉴에서 Operator > OperatorHub로 이동합니다.
  2. 키워드로 필터링 필드에 Developer Hub를 입력하고 Red Hat Developer Hub Operator 카드를 클릭합니다.
  3. Red Hat Developer Hub Operator 페이지에서 설치를 클릭합니다.
  4. 설치가 완료되면 Installed Operators 로 이동하여 Red Hat Developer Hub Operator 를 선택합니다.
  5. 사용자 지정 구성을 프로비저닝합니다.

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: app-config-rhdh
    data:
      "app-config-rhdh.yaml": |
        app:
          title: Red Hat Developer Hub
          baseUrl: https://__<my_developer_hub_url>__
        backend:
          auth:
            externalAccess:
                - type: legacy
                  options:
                    subject: legacy-default-config
                    secret: "${BACKEND_SECRET}"
          baseUrl: https://__<my_developer_hub_url>__
          cors:
            origin: https://__<my_developer_hub_url>__
    Copy to Clipboard Toggle word wrap

    app-config-rhdh 라는 구성 맵과 BACKEND_SECRET 이 포함된 Kubernetes 보안을 생성해야 합니다. 이러한 리소스는 인증 및 애플리케이션 설정에 개발자 허브 인스턴스에서 사용합니다.

    추가 단계는 사용자 지정 Red Hat Developer Hub 구성 프로비저닝을 참조하십시오.

  6. 다음과 같이 app-config.yaml 을 포함하는 app-config-rhdh 라는 구성 맵을 생성합니다.

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: app-config-rhdh
    data:
      "app-config-rhdh.yaml": |
        app:
          title: Red Hat Developer Hub
          baseUrl: https://__<my_developer_hub_url>__
        backend:
          auth:
            externalAccess:
                - type: legacy
                  options:
                    subject: legacy-default-config
                    secret: "${BACKEND_SECRET}"
          baseUrl: https://__<my_developer_hub_url>__
          cors:
            origin: https://__<my_developer_hub_url>__
    Copy to Clipboard Toggle word wrap
  7. my-rhdh-secrets 라는 시크릿을 생성하고 Base64로 인코딩된 문자열을 값으로 사용하여 BACKEND_SECRET 이라는 키를 추가합니다.

    apiVersion: v1
    kind: Secret
    metadata:
      name: my-rhdh-secrets
    stringData:
      # TODO: Add the necessary auth secrets for service-to-service auth setup
      BACKEND_SECRET: "xxx" # Replace with your Base64-encoded secret
    Copy to Clipboard Toggle word wrap
  8. Developer Hub Operator 페이지로 돌아가서 Create New Instance 를 클릭합니다.
  9. Developer Hub 배포의 이름 및 대상 네임스페이스를 지정합니다.
  10. Git 통합, 시크릿, 사용자 권한과 같은 필수 옵션을 구성합니다.
  11. 구성을 검토하고 배포 옵션을 선택한 다음 생성 을 클릭합니다.

검증

  • Developer Hub에 액세스하려면 OpenShift Container Platform 웹 콘솔에 제공된 Developer Hub URL로 이동합니다.

Red Hat Developer Hub Helm 차트를 사용하여 GCP의 OpenShift Dedicated에 개발자 허브를 설치할 수 있습니다.

사전 요구 사항

  • 유효한 GCP 계정이 있어야 합니다.
  • OpenShift Dedicated 클러스터가 GCP에서 실행되고 있습니다. 자세한 내용은 Red Hat OpenShift Dedicated 설명서에서 GCP에서 클러스터 생성 을 참조하십시오.
  • Helm 3 또는 최신 버전을 설치했습니다.

프로세스

  1. 개발자 허브 웹 콘솔의 개발자 화면에서 +추가 를 클릭합니다.
  2. 개발자 카탈로그 패널에서 Helm 차트 를 클릭합니다.
  3. 키워드로 필터링 상자에 개발자 허브를 입력하고 Red Hat Developer Hub 카드를 클릭합니다.
  4. Red Hat Developer Hub 페이지에서 생성 을 클릭합니다.
  5. 클러스터에서 OpenShift Container Platform 라우터 호스트(예: apps.<clusterName>.com )를 복사합니다.
  6. 라디오 버튼을 선택하여 양식 보기 또는 YAML 보기로 Developer Hub 인스턴스를 구성합니다.

    중요

    Helm 차트를 사용하여 개발자 허브를 배포하기 전에 인스턴스의 공용 baseUrl 과 같은 사용자 정의 구성 설정을 정의해야 합니다. baseUrl 을 설정하지 않으면 애플리케이션이 제대로 작동하지 않습니다. 양식 보기 또는 Helm 설치 마법사의 YAML 보기를 통해 이 구성을 정의할 수 있습니다.

    baseUrl 을 구성하려면 Helm 구성에 다음 값을 설정합니다.

    global:
      app:
        baseUrl: https://<your-developer-hub-url>
      backend:
        baseUrl: https://<your-developer-hub-url>
        cors:
          origin: https://<your-developer-hub-url>
    Copy to Clipboard Toggle word wrap

    values.yaml 파일에서 추가 보안, 플러그인 및 고급 구성을 정의할 수도 있습니다. 자세한 내용은 사용자 정의 Red Hat Developer Hub 구성 프로비저닝을 참조하십시오.

    양식 보기 는 기본적으로 선택됩니다.

    1. 양식 보기사용

      1. 양식 보기를 사용하여 인스턴스를 구성하려면 Backstage 인스턴스 내에서 루트 스키마 → 글로벌 → 서비스 인증 활성화 로 이동하여 OpenShift Container Platform 라우터 호스트를 양식의 필드에 붙여넣습니다.
    2. YAML 보기사용

      1. YAML 보기를 사용하여 인스턴스를 구성하려면 다음 예와 같이 OpenShift Container Platform 라우터 호스트 이름을 global.clusterRouterBase 매개변수 값에 붙여넣습니다.

        global:
          auth:
            backend:
              enabled: true
          clusterRouterBase: apps.<clusterName>.com
          # other Red Hat Developer Hub Helm Chart configurations
        Copy to Clipboard Toggle word wrap
  7. 필요한 경우 다른 값을 편집한 다음 생성 을 클릭하고 데이터베이스와 개발자 허브가 시작될 때까지 기다립니다.

검증

  • 개발자 허브에 액세스하려면 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.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동