Red Hat recently announced the full availability of Red Hat Advanced Cluster Management for Kubernetes (RHACM) v2.2. The RHACM tool provides a central management console where you can manage multiple Kubernetes-based clusters across data centers, public clouds, and private clouds. You can easily use the multi-cluster center to create Red Hat OpenShift container platform clusters on selected providers, or import existing Kubernetes-based clusters.
Through the management functions for cluster creation, application lifecycle, and to provide security and compliance for all these applications in the data center and hybrid cloud environment, you can easily control your application deployment.
With Red Hat Advanced Cluster Management for Kubernetes, both clusters and applications can be viewed and managed in a single console through built-in security policies. It becomes easy to run your operations from wherever Red Hat OpenShift runs, and manage any Kubernetes cluster in your fleet.
The new version includes Open Policy Agent (OPA) operators for tighter integration, new Argo CD integration, and more to help you manage and automate Kubernetes clusters on a large scale. The following are some of the key features in the v2.2 release:
- Import and manage Openshift clusters, such as Azure Red Hat OpenShift, OpenShift Dedicated, Openshift on Openstack and Openshift on IBM Z.
- Custom indicators and dashboards: Customize the Grafana dashboard based on your defined indicators and predefined indicators to create a personalized view of the content that is important to you.
- As part of ACM, contribute and deliver to Open Policy Agent (OPA): Support OPA strategy by allocating OPA operators to the fleet.
- Compliance operator support: Run OpenSCAP scans (via compliance operators) on the fleet and display compliance results in ACM.
- Argo CD integration: Use the fleet information from ACM and provide it to Argo CD to ensure that your application is compliant and safe.
Install Red Hat Advanced Cluster Management on OpenShift 4.x
In the next steps, we will guide you through the process of installing Red Hat Advanced Cluster Management on OpenShift 4.x. Before proceeding with the installation steps, you should have a working OpenShift 4.x cluster.
Step 1: Create Rhacm project
Let’s start creating a new project for Red Hat Advanced Cluster Management deployment.
From the CLI:
oc new-project rhacm
For UI project creation, it is done under the following conditions Home>Project>Create Project
Confirm that the current work item is a created item.
Step 2: Install Red Hat Advanced Cluster Management Operator
Log in to the OpenShift web console and navigate to Operator > OperatorHub And search for “advanced cluster management”.
Install Button to start installing the operator.
Use the namespace recommended by the operator or create and use the namespace we created in the first step.
Select “Update Channel” and “Approve Policy”, then click the “Subscribe” button.
You can check the installation status of the operator in the “Installed Operators” section.
This is a screenshot of a successful installation.
Step 3: Create MultiClusterHub custom resources
In the OpenShift Container Platform console navigation, select Installed carrier > Advanced cluster management of Kubernetes
select MultiClusterHub label.
select Create MultiClusterHub Then update the default values in the YAML file as needed.
Wait for the installation to complete.
When finished, the status should change to “Running”.
Step 4: Access the advanced cluster management of the Kubernetes console
Check the routing for advanced cluster management of Kubernetes under “Network”> “Routing”.
Open the URL of the center on a new tab and log in with OpenShift user credentials. It should provide you with a dashboard similar to the following.
To access the local cluster, use “Go to the cluster“Associated:
local-cluster The namespace is used for imported self-service hub clusters. Before installation, you must not have a local cluster namespace on your cluster.after that
local-cluster A namespace is created for the hub cluster, anyone who has access to that namespace
local-cluster The namespace will automatically grant access to the cluster administrator.For security reasons, please do not let anyone visit
local-cluster There is no namespace for cluster administrator access.
You can click on the listed cluster to view more details.
We have successfully installed and configured Red Hat Advanced Cluster Management on OpenShift 4.x. In the next guide, we will discuss “Managing clusters, applications, security and troubleshooting” that will be very useful during cluster lifecycle management.
Other guides about OpenShift:
How to change pids_limit value in OpenShift 4.x
How to deploy Ubuntu Pod in Kubernetes | OpenShift
Configure static IPv4 address in OpenShift 4.x CoreOS server
How to list and approve pending CSRs in OpenShift 4.x