虚拟机
chaosblade chaosblde
cd /opt
wget https://github.com/chaosblade-io/chaosblade/releases/download/v1.7.1/chaosblade-1.7.1-linux-amd64.tar.gz
tar -zxvf chaosblade-1.7.1-linux-amd64.tar.gz
aliyun Aliyun experiment
ck Clickhouse experiment
cplus C++ chaos experiments
cpu Cpu experiment
cri CRI experiment
disk Disk experiment
druid Experiment with the Druid
dubbo Experiment with the Dubbo
es ElasticSearch experiment!
feign feign experiment
file File experiment
gateway gateway experiment!
hbase hbase experiment!
http http experiment
jedis jedis experiment
jvm Experiment with the JVM
k8s Kubernetes experiment
kafka kafka experiment
lettuce redis client lettuce experiment
log log experiment
mem Mem experiment
mongodb MongoDB experiment
mysql mysql experiment
network Network experiment
nginx Nginx experiment
process Process experiment
psql Postgrelsql experiment
rabbitmq rabbitmq experiment
redisson redisson experiment
rocketmq Rocketmq experiment,can make message send or pull delay and exception
script Script chaos experiment
security SpringSecurity login experiment
servlet java servlet experiment
strace strace experiment
systemd Systemd experiment
tars tars experiment
time Time experiment
zk zk experiment
cd chaosblade-1.7.1/ # 进入文件内部
./blade create --help # 查看有那些故障能力可以使用
./blade create jvm --help # 进一步查看jvm有那些能力可以使用,eg:full-gc,OutOfMemoryError
./blade destroy uid #销毁注入的场景
./blade prepare jvm --process --javaHome # 挂载javaAgent,执行java实验必备
./blade create xxx # 创建一个故障能力
./blade destroy uid #销毁实验
./blade revoke uid #卸载agent
接下来会更新一些,官方文档中一些没有给出具体怎么演示的故障能力,这也是我们公司在实践中落地的能力,如何使用,使用过程中遇到的一些问题,最后附上chaosblade官方使用文档官方文档