Code Monkey home page Code Monkey logo

kayenta's Introduction

Kayenta

Build Status

Kayenta is a platform for Automated Canary Analysis (ACA). It is used by Spinnaker to enable automated canary deployments. Please see the comprehensive canary documentation for more details.

Canary Release

A canary release is a technique to reduce the risk from deploying a new version of software into production. A new version of software, referred to as the canary, is deployed to a small subset of users alongside the stable running version. Traffic is split between these two versions such that a portion of incoming requests are diverted to the canary. This approach can quickly uncover any problems with the new version without impacting the majority of users.

The quality of the canary version is assessed by comparing key metrics that describe the behavior of the old and new versions. If there is significant degradation in these metrics, the canary is aborted and all of the traffic is routed to the stable version in an effort to minimize the impact of unexpected behavior.

Canaries are usually run against deployments containing changes to code, but they can also be used for operational changes, including changes to configuration.

Frequently Asked Questions

See the FAQ.

Creating Canary Config

See the Canary Config Object model for how a canary config is defined in Markdown Syntax for Object Notation (MSON).

Debugging

To start the JVM in debug mode, set the Java system property DEBUG=true:

./gradlew -DDEBUG=true

The JVM will then listen for a debugger to be attached on port 8191. The JVM will not wait for the debugger to be attached before starting Kayenta; the relevant JVM arguments can be seen and modified as needed in build.gradle.

Running Standalone Kayenta Locally

You can run a standalone kayenta instance locally with docker-compose.

# Copy and edit example config accordingly
cp kayenta-web/config/kayenta.yml ~/.spinnaker/kayenta.yml

# Build/Start Kayenta
docker-compose up

You should then be able to access your local kayenta instance at http://localhost:8090/swagger-ui.html.

kayenta's People

Contributors

spinnakerbot avatar skandragon avatar csanden avatar fieldju avatar plumpy avatar cfieber avatar danielpeach avatar aloren avatar ezimanyi avatar lwander avatar maggieneterval avatar marchello2000 avatar ehmke avatar michaelmanz avatar joerajeev avatar rarneson avatar robzienert avatar melanahammel avatar link108 avatar sullis avatar dthomson25 avatar ddavtian avatar ybai2-sc avatar posox avatar mayitbeegh avatar dotdotdotpaul avatar nishubansal avatar jmccann avatar igcherkaev avatar gregorymfoster 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.