Skip to content

zhiweiyin318/multicloud-operators-foundation

This branch is 107 commits behind stolostron/multicloud-operators-foundation:main.

Folders and files

NameName
Last commit message
Last commit date
May 16, 2023
May 22, 2023
Nov 25, 2021
May 18, 2023
Nov 7, 2022
May 8, 2021
Nov 15, 2022
May 15, 2023
May 18, 2023
Aug 12, 2020
May 22, 2023
Oct 31, 2022
Jan 10, 2022
Nov 9, 2020
Oct 27, 2022
Jul 31, 2020
Mar 23, 2023
Jun 25, 2021
Apr 22, 2021
Jan 10, 2022
Jul 22, 2020
May 22, 2023
May 22, 2023
Mar 23, 2023

Repository files navigation

stolostron Foundation

stolostron 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 stolostron 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/stolostron/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 and deploy foundation agent components on all managed clusters.

    make deploy-foundation

Clean up Foundation

```sh
make clean-foundation
```

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.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.0%
  • Shell 1.1%
  • Other 0.9%