Enabling the assisted service
Red Hat Advanced Cluster Management (RHACM) uses the assisted service to deploy OpenShift Container Platform clusters. The assisted service is deployed automatically when you enable the MultiClusterHub Operator on Red Hat Advanced Cluster Management (RHACM). After that, you need to configure the Provisioning resource to watch all namespaces and to update the AgentServiceConfig custom resource (CR) with references to the ISO and RootFS images that are hosted on the mirror registry HTTP server.
-
You have installed the OpenShift CLI (
oc). -
You have logged in to the hub cluster as a user with
cluster-adminprivileges. -
You have RHACM with
MultiClusterHubenabled.
-
Enable the
Provisioningresource to watch all namespaces and configure mirrors for disconnected environments. For more information, see Enabling the central infrastructure management service. -
Open the
AgentServiceConfigCR to update thespec.osImagesfield by running the following command:$ oc edit AgentServiceConfig -
Update the
spec.osImagesfield in theAgentServiceConfigCR:apiVersion: agent-install.openshift.io/v1beta1 kind: AgentServiceConfig metadata: name: agent spec: # ... osImages: - cpuArchitecture: x86_64 openshiftVersion: "{product-version}" rootFSUrl: https://<host>/<path>/rhcos-live-rootfs.x86_64.img url: https://<host>/<path>/rhcos-live.x86_64.isowhere:
<host>-
Specifies the fully qualified domain name (FQDN) for the target mirror registry HTTP server.
<path>-
Specifies the path to the image on the target mirror registry.
-
Save and quit the editor to apply the changes.