Openshift ACM¶
OpenShift Advanced Cluster Management (ACM) Content Bundle¶
This content bundle provides automation for deploying and managing Red Hat Advanced Cluster Management (ACM) for Kubernetes on OpenShift clusters. ACM extends OpenShift's capabilities with multi-cluster management, policy-based governance, and application lifecycle management.
Overview¶
Advanced Cluster Management for Kubernetes provides:
- Centralized Management: Control multiple Kubernetes clusters from a single console
- Policy-Based Governance: Define and enforce policies across your entire cluster fleet
- Application Lifecycle Management: Deploy applications to multiple clusters with consistent governance
- Observability: Central visibility into cluster health and compliance
- Security and Compliance: Built-in compliance frameworks and security controls
This content bundle streamlines the installation, configuration, and management of ACM in your OpenShift environment.
Prerequisites¶
Before deploying ACM, ensure you have:
- A fully operational OpenShift cluster (4.12+)
- Sufficient cluster resources:
- At least 3 worker nodes
- Minimum 8GB RAM per worker
- Minimum 4 vCPUs per worker
- Valid Red Hat subscription with ACM entitlements
- Cluster administrator privileges
Installation Methods¶
There are two ways to install ACM with this content bundle:
Method 1: During OpenShift Deployment¶
Apply the openshift-config-acm profile before deploying your OpenShift cluster:
# Apply the ACM profile to your cluster configuration
drpcli clusters addprofile demo openshift-config-acm
# Configure ACM parameters if needed (using defaults if not specified)
drpcli profiles set demo param openshift/acm-channel to "release-2.11"
drpcli profiles set demo param openshift/acm-namespace to "open-cluster-management"
With this profile applied, the OpenShift deployment process will automatically install ACM after the cluster is operational.
Method 2: Post-Deployment Installation¶
If your OpenShift cluster is already deployed, you can install ACM using the provided blueprint:
# Get your cluster UUID (replace "demo" with your cluster name)
CLUSTER_UUID=$(drpcli clusters show Name:demo | jq -r .Uuid)
# Create a work order to run the ACM installation blueprint
drpcli clusters work_order add $CLUSTER_UUID openshift-cluster-acm-install
Configuration Parameters¶
The following parameters customize the ACM installation:
| Parameter | Description | Default Value |
|---|---|---|
openshift/acm-channel |
Subscription channel for ACM operator | release-2.11 |
openshift/acm-namespace |
Target namespace for ACM | open-cluster-management |
openshift/acm-operator-name |
Name of ACM operator subscription | advanced-cluster-management |
openshift/acm-install-timeout |
Timeout for operator installation (seconds) | 1500 |
openshift/acm-install-mcm-timeout |
Timeout for Multi-Cluster Hub installation (seconds) | 3600 |
openshift/acm-enabled |
Flag to enable ACM installation | true (when profile is applied) |
Installation Process¶
The ACM installation process consists of these main steps:
- Creating the target namespace if it doesn't exist
- Deploying the OperatorGroup configuration
- Creating the operator subscription from Red Hat Marketplace
- Waiting for the operator to be installed (with configurable timeout)
- Deploying the MultiClusterHub instance
- Waiting for the MultiClusterHub to be ready (with configurable timeout)
Managing ACM¶
Accessing ACM¶
Once installed, ACM is integrated into the OpenShift web console:
- Log into the OpenShift web console
- Navigate to the menu and find the "Multicluster" section
Alternatively, you can use the oc command line to interact with ACM:
# Get MultiClusterHub status
oc get multiclusterhub -n open-cluster-management
# Check ACM pod status
oc get pods -n open-cluster-management
Managed Clusters¶
To view and manage your connected clusters:
Cleanup and Removal¶
If you need to remove ACM from your cluster, use the provided cleanup blueprint:
# Get your cluster UUID
CLUSTER_UUID=$(drpcli clusters show demo | jq -r .Uuid)
# Create a work order to run the ACM cleanup blueprint
drpcli clusters work_order on $CLUSTER_UUID openshift-cluster-acm-cleanup
The cleanup process removes: 1. MultiClusterHub instance 2. Operator subscription 3. ClusterServiceVersions 4. OperatorGroup 5. Supporting resources (secrets, configmaps, etc.) 6. ACM namespace
Troubleshooting¶
Common Issues¶
-
Timeout during installation: Increase the timeout parameters if your environment has limited resources or network constraints.
-
Pod scheduling failures: Check for node taints and resource constraints.
-
MultiClusterHub stuck in pending state: Check for resource issues or networking problems.
Collecting Diagnostics¶
For comprehensive diagnostics:
# Use the must-gather tool for ACM-specific logs
oc adm must-gather --image=registry.redhat.io/rhacm2/acm-must-gather-rhel8:v2.8 --dest-dir=acm-logs
Support¶
For issues or questions: - Check the Digital Rebar documentation - Review the ACM documentation - Contact RackN support
License¶
RackN License - See documentation for details.