Giter Club home page Giter Club logo

jazzhands's Introduction

IBM Internet Services (CloudFlare) Jazz Hands Demo:

Please see the MKDocs GitHub Pages Site for complete documentation on what it takes to build this application and deploy it yourself.

https://kriersd.github.io/JazzHands/

Working Demo

http://www.jazzhands-demo.com/

The application has been containerized and uploaded to a public Docker repository.

The Kubernetes artifacts

  • Load Balancer
  • Deployment (With 2 replicas for HA)
  • ConfigMap

The application is a simple Node.JS application that shows all venue's in a specific area that accepts Bitcoins as payments. The application isn't anything too special, it just allows us to demonstrate the use of IBM's Internete Service (CloudFlare).

All of the artifacts to build this application yourself have been published to this GitHub repository. It should be noted that the instructions do not go into detail on the Kubernetes artifacts or the deployed application. It is assumed that the user has a basic understanding of how to depoy Kuberenetes artifacts.

The Demo Environment

We have configured two Kubernetes clusters for this demonstration. Both are currently running in the IBM Public Cloud.

  • IKS
  • OpenShift - Roks
  • IBM Internet Services - CloudFlare

IBM Internet Services (Cloudflare) has been configured to balance the load across both clusters.

Demo Steps

  • Go to the app site. (Your Domain) http://www.jazzhands-demo.com
  • You will see the icon in the upper left hand that shows which cluster this page was served from. You will also see a 60 second count down timer. CloudFlare will cache the session for 60 seconds, so any attempts to refresh the page within 60 seconds you will be routed back to the existing cluster. After the 60 second session timeout, it will load balance the next request, which may or may not route you back to the same cluster. Eventually you will see that it will route you to the other cluster. It may take a few trys though.

What's the point here?

  • We are demonstrating the ability to leverage multiple Kubernetes clusters to host your application with the IBM Internet Services (CloudFlare) being the global load balancer to spread the load across these seemingly unrelated clusters. This type of configuration brings a new level of high availability and disaster recovery capabilities to light.

jazzhands's People

Contributors

kriersd avatar jholt96 avatar ccpaxton avatar jcarl-ibm avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

ccpaxton

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.