Install Red Hat Advanced Cluster Management on OpenShift 4.x

ComputingPost
5 min readOct 10, 2022

--

Red Hat recently announced the general availability of Red Hat Advanced Cluster Management for Kubernetes ( RHACM) v2.2. RHACM tool provides a central management console from where you can manage multiple Kubernetes-based clusters across data centers, public clouds, and private clouds. You can easily use the multicluster hub to create Red Hat OpenShift Container Platform clusters on selected providers, or import existing Kubernetes-based clusters.

It becomes easy to take control of your application deployment with the management capabilities for cluster creation, application lifecycle, and provide security and compliance for all of them across data centers and hybrid cloud environments.

With Red Hat Advanced Cluster Management for Kubernetes, Clusters and applications are all visible and managed from a single console, with built-in security policies. It becomes easy to run your operations from anywhere that Red Hat OpenShift runs, and manage any Kubernetes cluster in your fleet.

Red-Hat-Advanced-Cluster-Management-Kubernetes-1024x463

The new release includes the Open Policy Agent (OPA) operator for tighter integration, added new Argo CD integration and more to help you manage and automate your Kubernetes clusters at scale. Below are some of the key features in v2.2 release:

  • Import and manage Openshift clusters such Azure Red Hat OpenShift , OpenShift Dedicated, Openshift on Openstack and Openshift on IBM Z.
  • Customized metrics and dashboards: Customization of Grafana dashboards based on metrics you define, along with the predefined metrics, to create personalized views of what is important to you.
  • Contribute to and ship Open Policy Agent (OPA) as part of ACM: Support of OPA policies by distributing the OPA operator to the fleet.
  • Compliance Operator support: Run OpenSCAP scans (via the Compliance Operator) against the fleet, and surface the compliance results in ACM.
  • Argo CD integration: Utilize the fleet information from ACM and provide it to Argo CD, ensuring your applications are compliant and secure.

Install Red Hat Advanced Cluster Management on OpenShift 4.x

In the next steps we walk you through the process of installing Red Hat Advanced Cluster Management on OpenShift 4.x. You should have a working OpenShift 4.x cluster before you proceed with the installation steps.

Step 1: Create rhacm project

Let’s start by creating a new project for Red Hat Advanced Cluster Management deployment.

From CLI:

oc new-project rhacm

For UI project creation, it is done under Home > Projects > Create Project

Install-Red-Hat-Advanced-Cluster-Management-01-1024x695

Confirm the current working project is the one created.

Install-Red-Hat-Advanced-Cluster-Management-02-1024x423

Step 2: Install Red Hat Advanced Cluster Management Operator

Login to OpenShift Web console and navigate to Operators > OperatorHub and search for “Advanced Cluster Management”.

Install-Red-Hat-Advanced-Cluster-Management-03-1024x535

Click the Install button to begin installation of the operator.

Install-Red-Hat-Advanced-Cluster-Management-04-1024x206

Use Operator recommended namespace or create use the namespace we created in the first step.

Install-Red-Hat-Advanced-Cluster-Management-05-1024x407

Choose the “Update Channel” and “Approval Strategy” then hit the “Subscribe” button.

Install-Red-Hat-Advanced-Cluster-Management-06-1024x482

The Operator installation status can be checked under “Installed Operators” section.

Install-Red-Hat-Advanced-Cluster-Management-07-2048x422

Here is a screenshot of successful installation.

Install-Red-Hat-Advanced-Cluster-Management-08-1024x128

Step 3: Create the MultiClusterHub custom resource

In the OpenShift Container Platform console navigation, select Installed Operators > Advanced Cluster Management for Kubernetes

Install-Red-Hat-Advanced-Cluster-Management-09-1024x172

Select the MultiClusterHub tab.

Install-Red-Hat-Advanced-Cluster-Management-10-1024x372

Select Create MultiClusterHub then update the default values in the YAML file, according to your needs.

Install-Red-Hat-Advanced-Cluster-Management-11-1024x332

Wait for the installation to complete.

Install-Red-Hat-Advanced-Cluster-Management-13-1024x129

Upon completion the state should change to “Running“.

Install-Red-Hat-Advanced-Cluster-Management-14-2048x444

Step 4: Access Advanced Cluster Management for Kubernetes Console

Check the route for the Advanced Cluster Management for Kubernetes under “Networking” > “Routes

Install-Red-Hat-Advanced-Cluster-Management-15-2048x469

Open the URL of your hub on a new tab and login with the OpenShift user credentials. You should be presented with a dashboard similar to below.

Install-Red-Hat-Advanced-Cluster-Management-16-1024x598

To access the local cluster use “Go to Clusters” link:

Install-Red-Hat-Advanced-Cluster-Management-17-1024x598

Important: The local-cluster namespace is used for the imported self-managed hub cluster. You must not have a local-cluster namespace on your cluster prior to installing. After the local-cluster namespace is created for the hub cluster, anyone who has access to the local-cluster namespace is automatically granted cluster administrator access. For security reasons, do not give anyone access to the local-cluster namespace who does not already have cluster-administrator access.

You can click on the listed cluster to view more details.

Install-Red-Hat-Advanced-Cluster-Management-17-1024x598

We have successfully installed and configured Red Hat Advanced Cluster Management on OpenShift 4.x. In our next guides we’ll discuss on Managing clusters, Applications, Security and Troubleshooting that will come in handy during clusters lifecycle management.

https://www.computingpost.com/install-red-hat-advanced-cluster-management-on-openshift-4-x/?feed_id=10503&_unique_id=634462c61f18e

--

--

ComputingPost
ComputingPost

Written by ComputingPost

ComputingPost — Linux Howtos, Tutorials, Guides, News, Tips and Tricks.