Skip to content

v0.4.2

Compare
Choose a tag to compare
@tiny-x tiny-x released this 09 Sep 14:06
· 45 commits to main since this release

This version fixes known bugs and improves stability, welcome to use.

Bug Fixes

  • Scenario list query. (#66 #68 )
  • I18n switch invalid. (chaosblade-io/chaosblade-box-fe-0.4.x#1 )
  • Home page charts.
  • Container experiment. (#70 )
  • Create a K8S experiment and initialize the namespace. (#64 )

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 chaosblade-box-web-0.4.2.jar and run the following command to start:

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

For example:

nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-web-0.4.2.jar --spring.datasource.url="jdbc:mysql://XXXX:3306/chaosblade?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai" --spring.datasource.username=XXXX --spring.datasource.password=XXXX > chaosblade-box.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 chaosblade-box chaosblade-box-0.4.2.tgz --set spring.datasource.password=DATASOURCE_PASSWORD --namespace chaosblade

Access Platform

  • Ingress
  • NodePort
    ...

Aliyun OSS download

chaosblade-box-web-0.4.2.jar
chaosblade-box-0.4.2.tgz