GithubHelp home page GithubHelp logo

open-chaos / experiment-catalog Goto Github PK

View Code? Open in Web Editor NEW
55.0 11.0 11.0 226 KB

A public and open source chaos engineering experiment catalog.

License: Apache License 2.0

chaos-engineering chaostoolkit openchaos

experiment-catalog's Introduction

Welcome to the Open Chaos Experiment Catalog!

This is a free, public and community-contributed catalog of chaos engineering experiments.

Catalog Layout and Experiment Format

The format of the catalog is relatively flexible, being a resource that will index many different types of experiments and even potentially different experiment-executing tools and systems. The current convention, where applicable, for a new experiment to be added to the catalog are:

  1. Every experiment should reside in its own directory below a parent directory that is used to group experiments by target platform context, i.e. Kubernetes, Azure, AWS etc.

  2. Top level tags for an experiment are recommended to be platform and service, with a corresponding descriptor after a :.

    Platform specifies the overall platform being targetted or manipulated by the experiment, for example platform:kubernetes. service, where applicable, specifies any sub-service of the platform being employed, such as service:node. Any combination of platform:* and service:* tags may be used for a single experiment so that it is appropriately indexed for catalog searching.

  3. A README.md is recommended, following the general template form as show by the file-must-not-disappear experiment sample.

  4. Optionally Yaml as well as JSON can be provided as the preferred format of an experiment, according to an author's tastes. However it is advised to submit both formats if possible.

Contributing to this Experiment Catalog

If you wish to contribute to this experiment catalog, you are more than welcome to do so. Please, fork this project, make your changes, and submit a PR for review.

We recommend that any experiments written to use the Chaos Toolkit should use the toolkit's chaos validate command to test the syntax of an experiment before it is submitted for consideration to the catalog.

This project also requires all contributors must sign a Developer Certificate of Origin on each commit they would like to merge into the master branch of the repository. Please, make sure you can abide by the rules of the DCO before submitting a PR.

experiment-catalog's People

Contributors

heyitsols avatar joaoasrosa avatar kaspernissen avatar lawouach avatar russmiles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

experiment-catalog's Issues

Introduce an experiment validation build

I would like us to consider adding a chaos validate build to this repo. This is where each experiment is run through chaos validate, with corresponding dummy env variables where necessary, and where the official docker image of Chaos Toolkit is employed.

This would show:

  • How the chaos toolkit can be executed from a build system, perhaps Travis.
  • How chaos validate is especially useful when building catalogs of experiments in an organisation.

Does this sound like a good idea?

Restructure the top level of the catalog for aws experiments

Following discussion, it was decided to organize the catalog using top-level directories to show what platform the experiment would run on. Note on the naming ensure underscores are used s a name separator as opposed to hyphens. so this would use directories such as Kubernetes, aws, azure etc.

Add validation sections to experiments

I suggest we add chaos validate instructions alongside chaos run for each of the experiments, to aid in their further development. Sections such as:

Developing this experiment further

Validating the experiment from the catalog using HTTP

(chaostk) $ export APPLICATION_ENTRYPOINT_URL=http://192.168.99.100:32474; \
            export SERVICE_NAME=my-service; \
                   chaos validate https://raw.githubusercontent.com/open-chaos/experiment-catalog/master/kubernetes/kill_microservice/kill_microservice.json

Wdyt @gtfisher

This will be reliant on this PR being in a release of the chaos toolkit first: chaostoolkit/chaostoolkit#130

Restructure catalog for azure experiments

Following discussion, it was decided to organize the catalog using top-level directories to show what platform the experiment would run on. Note on the naming ensure underscores are used s a name separator as opposed to hyphens. so this would use directories such as Kubernetes, aws, azure etc.

Docker commands not correct

currently, the docker commands make reference to /Users/russmiles - this should be changed to ~/...

Also the file-must-not-disappear does not map the file to the docker image

Add DCO signing process to this repo?

I've mentioned the DCO currently in the contributing section of this repo's README. Is it applicable, I am guessing it probably would be a good practice, especially when it is opened up to the community?

Command to run Experiments from HTTP are not easily pasted from the Read Me

Because of the $ on each line:

export APPLICATION_ENTRYPOINT_URL=http://192.168.99.100/myapp; \
$ export POD_LABEL=myapp; \
$ export NODE_NAME=mynode; \
                   chaos run https://raw.githubusercontent.com/open-chaos/experiment-catalog/master/kubernetes/delete_random_node/delete_random_node_experiment.j
son

should be

export APPLICATION_ENTRYPOINT_URL=http://192.168.99.100/myapp; \
export POD_LABEL=myapp; \
export NODE_NAME=mynode; \
                   chaos run https://raw.githubusercontent.com/open-chaos/experiment-catalog/master/kubernetes/delete_random_node/delete_random_node_experiment.j
son

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.