Skip to content

khushmanvar/chaostoolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChaosToolkit

ChaosToolkit is a robust toolkit designed for implementing and managing chaos engineering experiments in a controlled and automated way. The project provides a set of tools and modules that allow developers and engineers to simulate failures and stress scenarios on their systems, helping to identify weak points and improve resilience.

Table of Contents

Features

  • Simulate Failures: Introduce a variety of failure types (e.g., network latency, CPU spikes, memory leaks) to test system stability.
  • Automated Scenarios: Create automated chaos scenarios with predefined conditions and cleanup procedures.
  • Customizable Experiments: Define experiment parameters and customize chaos testing to suit your environment.
  • Detailed Reporting: Generate detailed reports of each experiment, highlighting areas of success and failure.

Installation

To install ChaosToolkit, clone the repository and run the following command:

git clone https://github.com/khushmanvar/chaostoolkit.git
cd chaostoolkit
make install

This will install all necessary dependencies.

Usage

ChaosToolkit can be used via the command line to run predefined chaos scenarios. Here is a basic command structure:

chaostoolkit run <scenario-file>

For a complete list of commands and options, use:

chaostoolkit --help

Examples

To run an example scenario, navigate to the examples directory and execute:

chaostoolkit run examples/network_latency.yaml

This example simulates network latency issues to observe how the system behaves under delayed network conditions.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-name).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a pull request.

Please ensure your code adheres to the existing code style and includes tests where applicable.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages