../../images/logo.svg

Hosted control planes: TPM2-bound LUKS on agent workers

Lab walkthrough: a Hosted Control Planes (HCP) cluster on the Agent platform with a worker VM on OpenShift Virtualization (persistent vTPM, static IPv4). Two independent customizations are applied from the hub, each in its own NodePool config ConfigMap:

  • LUKS disk encryption: the worker root disk is encrypted with LUKS and unlocked by the TPM 2.0.
  • core password: a console password for the core user, on the installed node and, separately, on the discovery image.

Either one can be used without the other.

ACM hub disaster recovery: passive copy or active move to a new hub

High-level walkthrough of a guided lab that backs up a running Red Hat Advanced Cluster Management (ACM) 2.17 hub and restores it onto a brand-new Single Node OpenShift (SNO) hub while the primary stays up, in two scenarios: passive (copy the hub, the managed clusters stay where they are) and active (the managed clusters move to the new hub). The full lab (modules, manifests, scripts and an animated flow diagram) lives in the acm-dr repository.

Disconnected OSUS on OpenShift

Manifests to reproduce this lab: osus-lab.

Configuring the OpenShift Update Service (OSUS) for a cluster that pulls images through an Artifactory mirror, with the OSUS graph scrape served from a small dedicated repo. Built and validated on a Single-Node OpenShift (SNO) lab.

Core of this is OSUS + manifest-only mirroring (§0, §2-§10). §1 (DNS) is only needed if Artifactory doesn’t already resolve in your environment — skip it if yours does.

Reset the OpenShift kubeadmin password

Reset the kubeadmin bootstrap password when the original credential is lost and no other cluster-admin identity provider is available.

Prerequisites

  • SSH access to a control plane node (as core, with sudo if required).
  • oc available on the node or copied in with the recovery kubeconfig.
  • htpasswd available to generate the bcrypt hash (install httpd-tools on RHEL, or run from a toolbox/UBI container).
  • A new password of at least 23 characters (required by the bootstrap authenticator).
Warning
This procedure patches the kubeadmin secret in kube-system. Use only for cluster recovery. After restoring access, define an identity provider and create a dedicated cluster-admin user, then remove kubeadmin per Red Hat documentation.

1. SSH to a control plane node

Connect to any healthy control plane node in the cluster.