Skip to content

Releases: chaosblade-io/chaosblade-box

v0.3.0

09 Mar 15:06
Compare
Choose a tag to compare

This version supports LitmusChaos and enhanced stability.

Features

  • Enhanced stability.
  • Support LitmusChaos.
  • Support helm deploy.
  • Initialize the database script.

Host

If you're deployed on host, the usage method is as follows:

Create Database

There are two ways: The first is to execute command CREATE DATABASE IF NOT EXISTS chaosblade , and the second way is to start the docker database image locally.

Notes: You must replace the follow parameters: DATASOURCE_URL, DATASOURCE_USERNAME, DATASOURCE_PASSWORD

Commands of The second way:

docker run --rm -d -it \
			-p 3306:3306 \
			-e MYSQL_DATABASE=chaosblade \
			-e MYSQL_ROOT_PASSWORD=DATASOURCE_PASSWORD \
			--name mysql-5.6 mysql:5.6 \
                        --character-set-server=utf8mb4 \
                        --collation-server=utf8mb4_unicode_ci \
                        --default-time_zone='+8:00'

Run Application

Download the chaosbox-web-0.3.0.jar and run the following command to start:

nohup java -Duser.timezone=Asia/Shanghai -jar chaosbox-web-0.3.0.jar --spring.datasource.url=DATASOURCE_URL --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD > chaosbox.log 2>&1 &

For example:

nohup java -Duser.timezone=Asia/Shanghai -jar chaosbox-web-0.3.0.jar --spring.datasource.url="jdbc:mysql://XXXX:3306/chaosblade?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai" --spring.datasource.username=XXXX --spring.datasource.password=XXXX > chaosbox.log 2>&1 &

Access Platform

You can use a browser to access the http://XXXX:8080 website to use the platform.

kubernetes

If you're deployed on kubernetes, the usage method is as follows:

Install chaosblade-operator

Download chaosblade-operator-0.9.0-v3.tgz package to install.

helm install chaosblade-operator chaosblade-operator-0.9.0-v3.tgz --namespace chaosblade

see more

Run Application

Notes: You must replace the follow parameters: DATASOURCE_PASSWORD

helm install chaosbox chaosbox-0.3.0.tgz --set spring.datasource.password=DATASOURCE_PASSWORD --namespace chaosblade

Access Platform

  • Ingress
  • NodePort
    ...

Aliyun OSS download

chaosbox-web-0.3.0.jar
chaosbox-0.3.0.tgz

v0.2.0

02 Mar 09:37
Compare
Choose a tag to compare

The long-awaited Kubernetes support version is here.

Features

  • Enhanced stability;
  • Support kubernetes.

Host

If you're deployed on host, the usage method is as follows:

Create Database

There are two ways: The first is to execute the chaos-platform.sql file, and the second way is to start the docker database image locally.

Notes: You must replace the follow parameters: DATASOURCE_URL, DATASOURCE_USERNAME, DATASOURCE_PASSWORD

Commands of The second way:

git clone https://github.com/chaosblade-io/chaos-platform.git
cd chaos-platform
make mysql mysql.password=DATASOURCE_PASSWORD

Run Application

Download the chaos-platform-web-0.2.0.jar and run the following command to start:

nohup java -Duser.timezone=Asia/Shanghai -jar chaos-platform-web-0.2.0.jar --spring.datasource.url=DATASOURCE_URL --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD > chaos-platform.log 2>&1 &

For example:

nohup java -Duser.timezone=Asia/Shanghai -jar chaos-platform-web-0.2.0.jar --spring.datasource.url="jdbc:mysql://XXXX:3306/chaosblade?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai" --spring.datasource.username=XXXX --spring.datasource.password=XXXX > chaos-platform.log 2>&1 &

Access Platform

You can use a browser to access the http://XXXX:8080 website to use the platform.

kubernetes

If you're deployed on kubernetes, the usage method is as follows:

Install chaosblade-operator

Download chaosblade-operator-0.9.0-v3.tgz package to install.

helm install chaosblade-operator chaosblade-operator-0.9.0-v3.tgz --namespace chaosblade

see more

Create Database

kubectl apply -f https://chaosblade.oss-cn-hangzhou.aliyuncs.com/platform/release/0.2.0/chaos_mysql_deployment.yaml
git clone https://github.com/chaosblade-io/chaos-platform.git
kubectl exec -i chaos-mysql-XXXXXX-XXXX -- mysql -uroot -pXXXXXX < chaos-platform/sql/chaos-platform.sql

Run Application

kubectl apply -f https://chaosblade.oss-cn-hangzhou.aliyuncs.com/platform/release/0.2.0/chaos_platform_deployment.yaml

Aliyun OSS download

chaos-platform-web-0.2.0.jar
chaos-platform.sql

v0.1.0

24 Feb 09:06
Compare
Choose a tag to compare

chaos-platform a chaos engineering platform with rich scenes, ChaosBlade is currently supported to perform chaos experiments, other tools will be added in future releases.

Features

  • Create chaos experiment;
  • Support Ansible channel install probe;
  • Support manual install probe;
  • Support host experiment;
  • Support prometheus metric;
  • Import the drill scenario through the tool marketplace;
  • Category management of scenarios

The usage method is as follows:

Create Database

There are two ways: The first is to execute the chaos-platform.sql file, and the second way is to start the docker database image locally.

Notes: You must replace the follow parameters: DATASOURCE_URL, DATASOURCE_USERNAME, DATASOURCE_PASSWORD

Commands of The second way:

git clone https://github.com/chaosblade-io/chaos-platform.git
cd chaos-platform
make mysql mysql.password=DATASOURCE_PASSWORD

Run Application

Download the chaos-platform-web-0.1.0.jar and run the following command to start:

nohup java -Duser.timezone=Asia/Shanghai -jar chaos-platform-web-0.1.0.jar --spring.datasource.url=DATASOURCE_URL --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD > chaos-platform.log 2>&1 &

For example:

nohup java -Duser.timezone=Asia/Shanghai -jar chaos-platform-web-0.1.0.jar --spring.datasource.url="jdbc:mysql://XXXX:3306/chaosblade?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai" --spring.datasource.username=XXXX --spring.datasource.password=XXXX > chaos-platform.log 2>&1 &

Access Platform

You can use a browser to access the http://XXXX:8080 website to use the platform.

Aliyun OSS download

chaos-platform-web-0.1.0.jar
chaos-platform.sql

v0.0.1-alpha

09 Feb 09:03
Compare
Choose a tag to compare

The usage method is as follows:

Create Database

There are two ways: The first is to execute the chaos-platform.sql file, and the second way is to start the docker database image locally.

Notes: You must replace the follow parameters: DATASOURCE_URL, DATASOURCE_USERNAME, DATASOURCE_PASSWORD

Commands of The second way:

git clone https://github.com/chaosblade-io/chaos-platform.git
cd chaos-platform
make mysql mysql.password=DATASOURCE_PASSWORD

Run Application

Download the chaos-platform-web-0.0.1-alpha.jar and run the following command to start:

nohup java -Duser.timezone=Asia/Shanghai -jar chaos-platform-web-0.0.1-alpha.jar --spring.datasource.url=DATASOURCE_URL --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD > chaos-platform.log 2>&1 &

For example:

nohup java -Duser.timezone=Asia/Shanghai -jar chaos-platform-web-0.0.1-alpha.jar --spring.datasource.url="jdbc:mysql://XXXX:3306/chaosblade?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai" --spring.datasource.username=XXXX --spring.datasource.password=XXXX > chaos-platform.log 2>&1 &

Access Platform

You can use a browser to access the http://XXXX:8080 website to use the platform.

Aliyun OSS download

chaos-platform-web-0.0.1-alpha.jar
chaos-platform.sql