Code Monkey home page Code Monkey logo

color-coded's Introduction

Color Coded - Istio + Helm + Codefresh Demo App

What's in the app?

A simple go app that displays a color and dies when you navigate to /die. The whole thing is packaged as a Helm chart and includes a Codefresh pipeline, and Istio configuration.

You can watch a full demo here.

Installation and usage

Some effort will be requried to streamline the setup for testing but it's possible now. These instructions may be incomplete.

  1. Create a free Codefresh account
  2. Fork and add this repo to Codefresh and start with a Codefresh YAML '.codefresh/helm-canary.yml'
  3. Set the environmental variables
  4. Add a Kubernetes cluster to your Codefresh account.
  5. Install Istio and Helm
  6. Update DNS with your Istio gateway IP address.
  7. Update and deploy the istio gateway configuration under istio/canary
  8. Update the base canary configuration under istio/canary.yml with your app info.
  9. Install the Helm package once manually (pull this repo, run a helm install) helm install --name colors ./deploy/helm/colors/ --namespace=color-coded --set deployment[0].image.pullSecret="codefresh-generated-r.cfcr.io-cfcr-color-coded"
  10. Review the Codefresh yml and update any remaining variables (like Kubernetes context)
  11. Deploy!

Improve the setup experience

A lot of work could be done to streamline this setup flow. Contributors welcome!

More about Codefresh

Goto https://codefresh.io to learn more about Kubernetes CI/CD

Codefresh Helm Release Status

color-coded's People

Contributors

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