Giter Club home page Giter Club logo

canary-demo's Introduction

Rafay GitOps Canary Deployments

In this demo, we will illustrate how to use Rafay GitOps pipelines to enable zero downtime canary deployments by using an Ingress Controller to direct client traffic.


Build Demo Application

The demo application contains two simple webserver applications, one serving "coffee", the other "tea", and is based on the nginxinc/ingress-demo container image. To build the application container images, follow the steps listed below:

  1. Clone the repo.

    [user@host] git clone https://github.com/matt-rafay/canary-demo.git
  2. Navigate to the build directory and run the build.sh shell script.

    [user@host] cd canary-demo/build
    [user@host] ./build.sh
    
      Usage: build.sh [required] [optional]
      
        Required:
          --registry                  example:  registry.example.com
        
        Optional:
          --push                      push image to repository
          --repo-prefix               example:  demo-app (e.g. demo-app-coffee and demo-app-tea)

    Provide the registry name using the --registry flag.

    Optionally provide a repo prefix name by using the --repo-prefix flag (if no prefix name is specified, the default container image names are demo-app-coffee and demo-app-tea).

    Use the --push flag to have the script automatically push the container images to your registry.

    [user@host] ./build.sh --registry registry.example.com --repo-prefix canary --push

canary-demo's People

Contributors

matt-tabnine 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.