multicloud-operators-foundation

module
v1.0.0-2021-10-26-20-1... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0

README

open-cluster-management Foundation

open-cluster-management Foundation supports some foundational components based ManagedCluster for ACM.

Community, discussion, contribution, and support

Check the CONTRIBUTING Doc for how to contribute to the repo.


Getting Started

This is a guide on how to build and deploy open-cluster-management Foundation from code.

Build images

Run the following after cloning/pulling/making a change.

make images

make images will build a new image named quay.io/open-cluster-management/multicloud-manager:latest.

Prerequisites

Need to install Cluster Manager and Klusterlet before deploy Foundation components. The installation instruction is here.

Need to approve and accept the managed clusters registered to the Hub.

  • Approve CSR on Hub cluster.

    MANAGED_CLUSTER=$(kubectl get managedclusters | grep cluster | awk '{print $1}')
    CSR_NAME=$(kubectl get csr |grep $MANAGED_CLUSTER | grep Pending |awk '{print $1}')
    kubectl certificate approve "${CSR_NAME}"
    
  • Accept Managed Cluster on Hub.

    MANAGED_CLUSTER=$(kubectl get managedclusters | grep cluster | awk '{print $1}')
    kubectl patch managedclusters $MANAGED_CLUSTER  --type merge --patch '{"spec":{"hubAcceptsClient":true}}'
    
Deploy Foundation
  1. Deploy foundation hub components on hub cluster.

    make deploy-foundation-hub
    
  2. Deploy foundation agent components to the managed cluster from the hub cluster.

    export MANAGED_CLUSTER_NAME=<your managed cluster name, default is cluster1>
    make deploy-foundation-agent
    

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 here.

Directories

Path Synopsis
cmd
pkg
apis/action/v1beta1
Package v1beta1 contains API Schema definitions for the action v1beta1 API group +kubebuilder:object:generate=true +groupName=action.open-cluster-management.io
Package v1beta1 contains API Schema definitions for the action v1beta1 API group +kubebuilder:object:generate=true +groupName=action.open-cluster-management.io
apis/imageregistry/v1alpha1
Package v1beta1 contains API Schema definitions for the action v1alpha1 API group +kubebuilder:object:generate=true +groupName=imageregistry.open-cluster-management.io
Package v1beta1 contains API Schema definitions for the action v1alpha1 API group +kubebuilder:object:generate=true +groupName=imageregistry.open-cluster-management.io
apis/internal.open-cluster-management.io/v1beta1
Package v1beta1 contains API Schema definitions for the action v1beta1 API group +kubebuilder:object:generate=true +groupName=internal.open-cluster-management.io
Package v1beta1 contains API Schema definitions for the action v1beta1 API group +kubebuilder:object:generate=true +groupName=internal.open-cluster-management.io
apis/inventory
Package inventory contains inventory API versions.
Package inventory contains inventory API versions.
apis/inventory/v1alpha1
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=inventory.open-cluster-management.io Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=inventory.open-cluster-management.io
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=inventory.open-cluster-management.io Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=inventory.open-cluster-management.io
apis/view/v1beta1
Package v1beta1 contains API Schema definitions for the view v1beta1 API group +kubebuilder:object:generate=true +groupName=view.open-cluster-management.io
Package v1beta1 contains API Schema definitions for the view v1beta1 API group +kubebuilder:object:generate=true +groupName=view.open-cluster-management.io
proxyserver/apis/proxy/v1beta1
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL