xlgao-zju / chaosblade-exec-os

executor for chaos experiments of os

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chaosblade-exec-os: Basic Resources Chaos Experiment Executor

license

中文版 README

Introduction

The chaosblade-exec-os project encapsulates basic resource failure scenarios. Supported components include CPU, memory, network, disk, process, shell scripts, etc., using linux commands or the golang language itself, and cgroup resource management implementation. Each component is further subdivided into many faults, such as network packet loss and network delay, and the scenario supports many parameters to control the influence surface, and each fault scenario has a bottom-up strategy to ensure controllable fault injection.

How to use

This project can be compiled and used separately, but it is more recommended to use chaosblade CLI tool to execute, because its operation is simple and it has perfect experiments management and command prompt. For detailed Chinese documentation, please refer to: https://chaosblade-io.gitbook.io/chaosblade-help-zh-cn/

Compile

This project is written in golang, so you need to install the latest golang version first. The minimum supported version is 1.11. After the Clone project, enter the project directory and execute the following command to compile:

make

If on a mac system, compile the current system version, execute:

make build_darwin

If you want to compile linux system version on mac system, execute:

make build_linux

You can also only clone [chaosblade] (https://github.com/chaosblade-io/chaosblade) project, execute make or make build_linux in the project directory to compile it uniformly, and implement this project through blade cli Failure scenario.

Bugs and Feedback

For bug report, questions and discussions please submit GitHub Issues.

You can also contact us via:

Contributing

We welcome every contribution, even if it is just punctuation. See details of CONTRIBUTING

License

The chaosblade-exec-os is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

About

executor for chaos experiments of os

License:Apache License 2.0


Languages

Language:Go 99.0%Language:Makefile 0.8%Language:Dockerfile 0.2%