中文版 README
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
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/
This project is written in golang, so you need to install the latest golang version first. The minimum supported version is 1.11. After cloning the project, enter the project directory and execute the following commands:
# Build the chaos agent binary (for current platform)
make build
# Build for linux/amd64
make build_amd64
# Build for linux/arm64
make build_arm64# Build Docker image for amd64
make build_image_amd64
# Build Docker image for arm64
make build_image_arm64# Package Helm chart for amd64
make build_chart_amd64
# Package Helm chart for arm64
make build_chart_arm64# Package agent binary, scripts and chaosblade tool
# Note: Requires build_amd64 or build_arm64 to be run first
make package ARCH=amd64
# or
make package ARCH=arm64# Clean up build artifacts
make clean# Show help information, view all available commands
make help# Format Go code
make format
# Verify code formatting
make verify
# Check license headers
make license-check
# Format license headers
make license-formatSteps 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.1For bug report, questions and discussions please submit GitHub Issues.
You can also contact us via:
- Dingding group (recommended for chinese): 23177705
- Gitter room: [chaosblade community] (https://gitter.im/chaosblade-io/community)
- Email: chaosblade.io.01@gmail.com
- Twitter: [chaosblade.io] (https://twitter.com/ChaosbladeI)
We welcome every contribution, even if it is just punctuation. See details of CONTRIBUTING
The chaosblade-exec-os is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.