About Red Hat Developer Hub
Introduction to Red Hat Developer Hub
Abstract
Chapter 1. About Red Hat Developer Hub
Red Hat Developer Hub is a fully supported, open developer platform that reduces friction and frustration of developers while boosting productivity.
This platform is driven by a centralized software catalog, providing efficiency to your microservices and infrastructure.
Use Red Hat Developer Hub to simplify decision-making through a selection of internally approved tools, programming languages, and developer resources within a self-managed portal.
1.1. Benefits of Red Hat Developer Hub
- Increased developer productivity
- Eliminates common organizational challenges, enabling seamless collaboration, and providing clear guidelines for creating, developing, and deploying applications.
- Unified Self-Service Dashboard
Provides development teams with a unified dashboard. Your platform engineering team can curate aspects such as:
- Git
- Continuous Integration/Continuous Delivery (CI/CD)
- Static Application Security Testing (SAST)/Dynamic Application Security Testing (DAST)
- Supply Chain
- OpenShift/Kubernetes cluster
- JIRA
- Monitoring
- API
- Documentation
- Best practices through software templates
Automates organizational best practices by encoding common tasks such as:
- Creating new applications
- Running Ansible jobs
- Establishing CI/CD pipelines for production deployment in Git
- Scalable technical documentation
- Code and documentation is in the same repository, eliminating dependencies on proprietary document systems.
- Efficient onboarding for new developers
- New developers can adapt quickly and become productive within a short time frame.
- Robust enterprise Role-Based Access Control (RBAC)
Empowers administrators to:
- Create roles
- Assign users or groups to roles
- Implement robust security policies for enhanced access control
Additional resources
- For more information about the different features of Red Hat Developer Hub and how to extend it, see Red Hat Developer Hub overview.
1.2. Supported platforms
Red Hat Developer Hub runs on OpenShift Container Platform 4.14-4.17 on supported architectures and providers, such as:
1.2.1. Red Hat OpenShift Container Platform
As a developer, you can deploy a Red Hat Developer Hub instance on OpenShift Container Platform by using the Developer Catalog in the Red Hat OpenShift Container Platform web console.
Prerequisites
- You have installed the Red Hat Developer Hub Operator.
- You have added a custom configuration file to OpenShift Container Platform.
Procedure for Deploying Red Hat Developer Hub on OpenShift Container Platform with the Operator
1.2.1.1. Deploying the Developer Hub from the OpenShift Container Platform web console with the Helm Chart
Prerequisites
- You have logged into your OpenShift Container Platform account.
- An administrator should have configured the appropriate roles and permissions within your project to create an application.
- You have created a project in OpenShift Container Platform.
1.2.1.2. Deploying the Developer Hub on OpenShift Container Platform with the Helm CLI
Prerequisites
-
You have installed the OpenShift CLI (
oc
) on your workstation. - Ensure you are logged into your OpenShift Container Platform account.
- An administrator should have configured the appropriate roles and permissions within your project to create an application.
- You have created a project in OpenShift Container Platform.
- You have installed the Helm CLI tool.
Procedure for Deploying Developer Hub on OpenShift Container Platform using the Helm CLI
1.2.2. Amazon Elastic Kubernetes Service
1.2.2.1. Installing the Developer Hub on EKS with the Operator
You can install the Red Hat Developer Hub Operator with or without the Operator Lifecycle Manager (OLM) framework.
1.2.2.1.1. Installing the Developer Hub on EKS with the OLM framework
You can install the Red Hat Developer Hub Operator with the Operator Lifecycle Manager (OLM) framework. As a developer, you can then deploy the Developer Hub instance in EKS.
Prerequisites
-
You have set the context to the EKS cluster in your current
kubeconfig
. -
You have installed
kubectl
. -
You have subscribed to
registry.redhat.io
. - You have installed the Operator Lifecycle Manager (OLM).
1.2.2.1.2. Installing the Developer Hub Operator without the OLM framework
Prerequisites
You have installed the following commands:
-
git
-
make
-
sed
-
Procedure for Installing the Developer Hub Operator without the OLM framework
1.2.2.1.3. Deploying the Developer Hub on EKS with the Operator
Prerequisites
- A cluster administrator has installed the Red Hat Developer Hub Operator.
- You have installed an EKS cluster with AWS Application Load Balancer (ALB) add-on.
- You have configured a domain name for your Developer Hub instance. The domain name can be a hosted zone entry on Route 53 or managed outside of AWS.
- You have an entry in the AWS Certificate Manager (ACM) for your preferred domain name. Keep record of your Certificate ARN.
-
You have subscribed to
registry.redhat.io
. -
You have set the context to the EKS cluster in your current
kubeconfig
. -
You have installed
kubectl
.
Procedure for Deploying the Developer Hub on EKS with the Operator
1.2.2.2. Installing the Developer Hub on EKS with the Helm chart
Prerequisites
- You have an EKS cluster with AWS Application Load Balancer (ALB) add-on.
- You have configured a domain name for your Developer Hub instance. The domain name can be a hosted zone entry on Route 53 or managed outside of AWS.
- You have an entry in the AWS Certificate Manager (ACM) for your preferred domain name. Ensure you keep a record of your Certificate ARN.
-
You have subscribed to
registry.redhat.io
. -
You have set the context to the EKS cluster in your current
kubeconfig
. -
You have installed
kubectl
. - You have installed Helm 3 or the latest.
Procedure for Installing Developer Hub on EKS with the Helm chart
1.2.3. Microsoft Azure Kubernetes Service
You can deploy a Developer Hub application on Azure Kubernetes Service (AKS) using either the Operator or Helm chart.
1.2.3.1. Deploying the Developer Hub on AKS with the Operator
Procedure
-
Have a Red Hat Developer Hub Operator manifest file, named
rhdh-operator-<VERSION>.yaml
, and modify the default configuration ofdb-statefulset.yaml
anddeployment.yaml
. - Apply the modified Operator manifest to your Kubernetes cluster.
-
Have an
ImagePull Secret
namedrhdh-pull-secret
using your Red Hat credentials to access images from the protectedregistry.redhat.io
. -
Create an Ingress manifest file, named
rhdh-ingress.yaml
, specifying your Developer Hub service name. - Deploy the created Ingress.
-
Create a ConfigMap named
app-config-rhdh
containing the Developer Hub configuration. -
Create a Secret named
secrets-rhdh
and add a key namedBACKEND_SECRET
with aBase64-encoded
string value. -
Create a Custom Resource (CR) manifest file named
rhdh.yaml
and include the previously createdrhdh-pull-secret
. - Apply the Custom Resource (CR) manifest to your namespace.
-
Access the deployed Developer Hub using the URL:
https://<app_address>
, where <app_address> is the Ingress address obtained earlier.
1.2.3.2. Deploying the Developer Hub on Azure Kubernetes Service (AKS) with the Helm chart
You can access a comprehensive solution for building, testing, and deploying applications.
Prerequisites
- You have a Microsoft Azure account with active subscription.
- You have installed the Azure CLI.
-
You have installed the
kubectl
CLI. -
You have logged into your cluster using
kubectl
, and havedeveloper
oradmin
permissions. - You have installed Helm 3 or the latest.
1.2.4. Google Cloud Platform (GCP)
You can install Developer Hub on OpenShift Dedicated on Google Cloud Platform (GCP) using either the Red Hat Developer Hub Operator or the Red Hat Developer Hub Helm chart.
1.2.4.1. Installing the Developer Hub on OpenShift Dedicated on GCP using the Red Hat Developer Hub Operator
Prerequisites
- You have a valid GCP account.
- Ensure your OpenShift Dedicated cluster is running on GCP.
- You have administrator access to OpenShift Dedicated cluster and GCP project.
Procedure for Installing the Developer Hub on OpenShift Dedicated on GCP using the Operator
1.2.4.2. Installing the Developer Hub on OpenShift Dedicated on GCP using the Red Hat Developer Hub Helm Chart
Prerequisites
- You have a valid GCP account.
- Ensure your OpenShift Dedicated cluster is running on GCP.
- You have installed Helm 3 or the latest.
Procedure for Installing the Developer Hub on OpenShift Dedicated on GCP using the Helm Chart