Git Product home page Git Product logo

k4e-leaf-hub-status-sync's Introduction

K4E-Leaf-Hub-Status-Sync

Go Report Card License

The K4E leaf hub status sync component of Hub-of-Hubs.

How it works

Build and push the image to docker registry

  1. Set the REGISTRY environment variable to hold the name of your docker registry:

    $ export REGISTRY=...
    
  2. Set the IMAGE_TAG environment variable to hold the required version of the image.
    default value is latest, so in that case no need to specify this variable:

    $ export IMAGE_TAG=latest
    
  3. Run make to build and push the image:

    $ make push-images
    

Deploy on a leaf hub

  1. Set the REGISTRY environment variable to hold the name of your docker registry:

    $ export REGISTRY=...
    
  2. Set the IMAGE environment variable to hold the name of the image.

    $ export IMAGE=$REGISTRY/$(basename $(pwd)):latest
    
  3. Set the SYNC_SERVICE_PORT environment variable to hold the ESS port as was setup in the leaf hub.

    $ export SYNC_SERVICE_PORT=...
    
  4. Set the LH_ID environment variable to hold the leaf hub unique id.

    $ export LH_ID=...
    
  5. Run the following command to deploy the k4e-leaf-hub-status-sync to your leaf hub cluster:

    envsubst < deploy/k4e-leaf-hub-status-sync.yaml.template | kubectl apply -f -
    

Cleanup from a leaf hub

  1. Run the following command to clean k4e-leaf-hub-status-sync from your leaf hub cluster:
    envsubst < deploy/k4e-leaf-hub-status-sync.yaml.template | kubectl delete -f -
    

k4e-leaf-hub-status-sync's People

Contributors

nirrozenbaum avatar

Watchers

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