mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-10 03:07:59 +00:00
2e87d3a92c9404e709b8ed77a9f4ffaacccc7611
Cluster Registration
Contains controllers that support the registration of spoke clusters to a hub to place them under management.
Community, discussion, contribution, and support
Check the CONTRIBUTING Doc for how to contribute to the repo.
Getting Started
Prerequisites
Check the Development Doc for how to contribute to the repo.
How to Deploy
Deploy Hub
- Run
make deploy-hub
Deploy Spoke
-
Create a bootstrap kubeconfig secret in the namespace of
open-cluster-management. Ensure the server field in kubeconfig is accesible from cluster.In a kind environment where hub and spoke component is deployed in one cluster, default kubernetes cluster ip can be used.
cp ~/.kube/config /<path>/kubeconfig clusterIP=$(kubectl get svc kubernetes -n default -o jsonpath="{.spec.clusterIP}") kubectl config set clusters.kind-kind.server https://$clusterIP --kubeconfig /<path>/kubeconfigThen run the following command
kubectl create secret generic bootstrap-secret --from-file=kubeconfig=/<path>/kubeconfig -n open-cluster-management -
Run
make deploy-spoke
Security Response
If you've found a security issue that you'd like to disclose confidentially please contact Red Hat's Product Security team. Details at https://access.redhat.com/security/team/contact
Description
Core components in the OCM project. Report here if you found any issues in OCM.
Languages
Go
98.8%
Makefile
0.5%
Shell
0.5%
Python
0.1%