Chaosd Introduction
Chaosd has the following core strengths:
- Various fault types: Chaosd provides various fault types to be injected into physical machines at different levels, including process, network, pressure, disk, host, etc. More fault types are to be added.
- Multiple work modes: Chaosd can be used both as a command-line tool and as a service to meet the needs of different scenarios.
You can use Chaosd to simulate the following fault types:
- Process: Injects faults into the processes. Operations such as killing the process or stopping the process are supported.
- Network: Injects faults into the network of physical machines. Operations such as increasing network latency, losing packets, and corrupting packets are supported.
- Pressure: Injects pressure on the CPU or memory of the physical machines.
- Host: Injects faults into the physical machine. Operations such as shutdown the physical machine are supported.
For details about the introduction and usage of each fault type, refer to the related documentation.
Set the version of Chaosd to be downloaded as the environment variable. For example, v1.0.0:
To view all released versions of Chaosd, refer to releases.
To download the latest version (not stable), use :
Unzip the Chaosd file and move it to the directory:
Add the Chaosd directory to the environment variable:
You can use Chaosd in the following modes:
- Service mode: Run Chaosd as a service in the background, to inject and recover faults by sending HTTP requests.