The are two ways to install the core control plane of open cluster management that includes cluster registration and manifests distribution.
Ensure golang is installed, if you are planning to install from the source.
If you are running OS X, you’ll also need to install
brew install gnu-sed
To create the hub cluster with
# kind delete cluster --name hub # if the kind cluster is previously created and can be safely deleted kind create cluster --name hub kind get kubeconfig --name hub --internal > ~/hub-kubeconfig
git clone https://github.com/open-cluster-management/registration-operator
kubectl context is set to point to the hub cluster:
kubectl config use-context <hub cluster context> # kubectl config use-context kind-hub
cd registration-operator make deploy-hub # make deploy-hub GO_REQUIRED_MIN_VERSION:= # if you see warnings regarding go version
If you are using OKD, OpenShift, or have
OLM installed in your cluster, you can install the cluster manager community operator with a released version from OperatorHub.io.