GithubHelp home page GithubHelp logo

tjanssen3 / multicloud-operators-foundation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stolostron/multicloud-operators-foundation

0.0 1.0 0.0 15.75 MB

License: Apache License 2.0

Dockerfile 0.07% Makefile 0.56% Shell 1.09% Go 98.29%

multicloud-operators-foundation's Introduction

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.

Setup

Create a directory $GOPATH/src/github.com/open-cluster-management, and clone the code into the directory. Since the build process will use (eventually installing) some golang tools, makes sure you have $GOPATH/bin added to your $PATH.

Populate the vendor directory. If necessary, set environment variable GO111MODULE=on.

go mod vendor

Build

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

make build

make build will build all the binaries in the current directory.

Prerequisites

Need to install ManagedCluster before deploy open-cluster-management Foundation.

  1. Install Cluster Manager on Hub cluster.

    make deploy-hub
  2. Install Klusterlet On Managed cluster.

    1. Copy kubeconfig of Hub to ~/.kubconfig.

    2. Install Klusterlet.

      make deploy-klusterlet
  3. 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}"
  4. 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 open-cluster-management Foundation from the quay.io

  1. Deploy hub components on hub cluster.

    make deploy-foundation-hub
  2. Deploy klusterlet components on managed cluster.

    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.

multicloud-operators-foundation's People

Contributors

cdoan1 avatar chrisahl avatar ckandag avatar compt0n-afk avatar cooktheryan avatar elgnay avatar ibm-ci-bot avatar ldpliu avatar mhrivnak avatar openshift-merge-robot avatar pawanpinjarkar avatar qiujian16 avatar randybrunopiverger-ibm avatar ray-harris avatar rayharris-ibm avatar rokej avatar sacharya avatar skeeey avatar songleo avatar therealhaoliu avatar tjanssen3 avatar zhiweiyin318 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.