Skip to content

chaosblade-io/chaosblade-box-agent

Repository files navigation

Chaosblade-box-agnet: Chaos Experiment Agent

license

中文版 README

Introduction

The Agent are mainly used for platform-side establishment, command delivery channels, and data collection functions. Therefore, if you need to perform drills on target clusters or hosts, you need to install probes on the target clusters or hosts on the end-side to organize the platform. The drill is converted into commands and sent to the target machine

How to use

This project can be compiled and used separately, but it is more recommended to use chaosblade-box-agent tool to use. For detailed English documentation, please refer to: https://chaosblade.io/en/docs/getting-started/installation-and-deployment/agent-install/

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-box-agent project, execute make or make build_linux in the project directory to compile it uniformly.

Steps to install agent:

./chaosctl.sh install -k 015667e5361b4b0c9d42e1c10afe1d61 -p  [app-name]  -g  [app-group-name]  -P  [agent-port]  -t [chaosblade-box ip]

Installation example:

./chaosctl.sh install -k 015667e5361b4b0c9d42e1c10afe1d61  -p  chaos-default-app  -g  chaos-default-app-group  -P 19527 -t 127.0.0.1

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.