Manually enabling the hypershift-addon managed cluster add-on for local-cluster
Enabling the hosted control planes feature automatically enables the hypershift-addon managed cluster add-on. If you need to enable the hypershift-addon managed cluster add-on manually, use the hypershift-addon to install the HyperShift Operator on local-cluster.
-
Create the
ManagedClusterAddonadd-on namedhypershift-addonby creating a file that resembles the following example:apiVersion: addon.open-cluster-management.io/v1alpha1 kind: ManagedClusterAddOn metadata: name: hypershift-addon namespace: local-cluster spec: installNamespace: open-cluster-management-agent-addon -
Apply the file by running the following command:
$ oc apply -f <filename>Replace
filenamewith the name of the file that you created. -
Confirm that the
hypershift-addonmanaged cluster add-on is installed by running the following command:$ oc get managedclusteraddons -n local-cluster hypershift-addonIf the add-on is installed, the output resembles the following example:
NAME AVAILABLE DEGRADED PROGRESSING hypershift-addon TrueYour
hypershift-addonmanaged cluster add-on is installed and the hosting cluster is available to create and manage hosted clusters.