Releases: chaosblade-io/chaosblade-box
v1.0.5
What's Changed
- Fix: fix scope list by user, and change images hub @MandssS
- Support custom mysql and not create mysql deployment by @aiyijing in #170
New Contributors
Full Changelog: v1.0.4...v1.0.5
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_HOST, DATASOURCE_USERNAME, DATASOURCE_PASSWORD, BOX-HOST(localHostIP:port, eg: ip:7001)
Commands of The second way:
docker run -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' \
--lower_case_table_names=1
Run Application
Download the chaosblade-box-1.0.5.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.5.jar --spring.datasource.url="jdbc:mysql://DATASOURCE_HOST:3306/chaosblade?characterEncoding=utf8&useSSL=false" --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD --chaos.server.domain=BOX-HOST --chaos.function.sync.type=ALL --chaos.prometheus.api=PROMETHEUS_API> chaosblade-box.log 2>&1 &
For example:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.5.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.server.domain=XXXX:7001 --chaos.function.sync.type=ALL --chaos.prometheus.api=http://127.0.0.1:9090/api/v1/query_range > chaosblade-box.log 2>&1 &
If jdk17, start command need add
--add-opens java.base/java.lang=ALL-UNNAMED
Access Platform
You can use a browser to access the http://XXXX:7001 website to use the platform.
kubernetes
If you're deployed on kubernetes, the usage method is as follows:
Install chaosblade-operator
helm repo add chaosblade-io https://chaosblade-io.github.io/charts
helm install chaosblade chaosblade-io/chaosblade-operator --namespace chaosblade
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-1.0.5.tgz --namespace chaosblade --set spring.datasource.password=DATASOURCE_PASSWORD
v1.0.4
What's Changed
Full Changelog: v1.0.3...v1.0.4
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_HOST, DATASOURCE_USERNAME, DATASOURCE_PASSWORD, BOX-HOST(localHostIP:port, eg: ip:7001)
Commands of The second way:
docker run -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' \
--lower_case_table_names=1
Run Application
Download the chaosblade-box-1.0.4.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.4.jar --spring.datasource.url="jdbc:mysql://DATASOURCE_HOST:3306/chaosblade?characterEncoding=utf8&useSSL=false" --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD --chaos.server.domain=BOX-HOST --chaos.function.sync.type=ALL --chaos.prometheus.api=PROMETHEUS_API> chaosblade-box.log 2>&1 &
For example:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.4.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.server.domain=XXXX:7001 --chaos.function.sync.type=ALL --chaos.prometheus.api=http://127.0.0.1:9090/api/v1/query_range > chaosblade-box.log 2>&1 &
If jdk17, start command need add
--add-opens java.base/java.lang=ALL-UNNAMED
Access Platform
You can use a browser to access the http://XXXX:7001 website to use the platform.
kubernetes
If you're deployed on kubernetes, the usage method is as follows:
Install chaosblade-operator
helm repo add chaosblade-io https://chaosblade-io.github.io/charts
helm install chaosblade chaosblade-io/chaosblade-operator --namespace chaosblade
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-1.0.4.tgz --namespace chaosblade --set spring.datasource.password=DATASOURCE_PASSWORD
v1.0.3
What's Changed
- 1.0.2 bug fix by @MandssS in #111
- fix delete namespace error by @Christophernt in #116
- 1.0.2 bug fix by @MandssS in #129
- feature: support prometheus metrics by @tiny-x in #130
- delete need not point #112
- fix bug: can not find application if ns changed #126
Full Changelog: v1.0.2...v1.0.3
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_HOST, DATASOURCE_USERNAME, DATASOURCE_PASSWORD, BOX-HOST(localHostIP:port, eg: ip:7001)
Commands of The second way:
docker run -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' \
--lower_case_table_names=1
Run Application
Download the chaosblade-box-1.0.3.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.3.jar --spring.datasource.url="jdbc:mysql://DATASOURCE_HOST:3306/chaosblade?characterEncoding=utf8&useSSL=false" --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD --chaos.server.domain=BOX-HOST --chaos.function.sync.type=ALL --chaos.prometheus.api=PROMETHEUS_API> chaosblade-box.log 2>&1 &
For example:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.3.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.server.domain=XXXX:7001 --chaos.function.sync.type=ALL --chaos.prometheus.api=http://127.0.0.1:9090/api/v1/query_range > chaosblade-box.log 2>&1 &
If jdk17, start command need add
--add-opens java.base/java.lang=ALL-UNNAMED
Access Platform
You can use a browser to access the http://XXXX:7001 website to use the platform.
kubernetes
If you're deployed on kubernetes, the usage method is as follows:
Install chaosblade-operator
Download chaosblade-operator-1.5.0-v3.tgz package to install.
helm install chaosblade-operator chaosblade-operator-1.5.0-v3.tgz --namespace chaosblade
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-1.0.3.tgz --namespace chaosblade --set spring.datasource.password=DATASOURCE_PASSWORD
Aliyun OSS download
v1.0.2
This version fixes known bugs and improves stability, welcome to use.
Bug Fixes
- Pop-ups falut of drill (#95 #87 )
- Fix table doesn't exist (#85 #91 )
- Memory overflo(#102 #103 )
- pod delete scene not found (#104 #105 )
- Agent ping not update status(#106 )
- Add use external ip or not flag (chaosblade-io/chaosblade-box-agent#3)
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_HOST, DATASOURCE_USERNAME, DATASOURCE_PASSWORD, BOX-HOST(localHostIP:port, eg: ip:7001)
Commands of The second way:
docker run -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' \
--lower_case_table_names=1
Run Application
Download the chaosblade-box-1.0.2.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.2.jar --spring.datasource.url="jdbc:mysql://DATASOURCE_HOST:3306/chaosblade?characterEncoding=utf8&useSSL=false" --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD --chaos.server.domain=BOX-HOST> chaosblade-box.log 2>&1 &
For example:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.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 --chaos.server.domain=XXXX:7001 > chaosblade-box.log 2>&1 &
If jdk17, start command need add
--add-opens java.base/java.lang=ALL-UNNAMED
Access Platform
You can use a browser to access the http://XXXX:7001 website to use the platform.
kubernetes
If you're deployed on kubernetes, the usage method is as follows:
Install chaosblade-operator
Download chaosblade-operator-1.5.0-v3.tgz package to install.
helm install chaosblade-operator chaosblade-operator-1.5.0-v3.tgz --namespace chaosblade
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-1.0.2.tgz --namespace chaosblade --set spring.datasource.password=DATASOURCE_PASSWORD
Aliyun OSS download
v1.0.1
This version supports internationalized Chinese and English switching, welcome to use.
Features
- Support internationalized, Chinese and English switching
- Complete initialization data
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_HOST, DATASOURCE_USERNAME, DATASOURCE_PASSWORD, BOX-HOST(localHostIP:port, eg: ip:7001)
Commands of The second way:
docker run -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' \
--lower_case_table_names=1
Run Application
Download the chaosblade-box-1.0.1.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.1.jar --spring.datasource.url="jdbc:mysql://DATASOURCE_HOST:3306/chaosblade?characterEncoding=utf8&useSSL=false" --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD --chaos.server.domain=BOX-HOST> chaosblade-box.log 2>&1 &
For example:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.1.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.server.domain=XXXX:7001 > chaosblade-box.log 2>&1 &
If jdk17, start command need add
--add-opens java.base/java.lang=ALL-UNNAMED
Access Platform
You can use a browser to access the http://XXXX:7001 website to use the platform.
kubernetes
If you're deployed on kubernetes, the usage method is as follows:
Install chaosblade-operator
Download chaosblade-operator-1.5.0-v3.tgz package to install.
helm install chaosblade-operator chaosblade-operator-1.5.0-v3.tgz --namespace chaosblade
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-1.0.1.tgz --namespace chaosblade --set spring.datasource.password=DATASOURCE_PASSWORD
Aliyun OSS download
v1.0.0
This version is a brand new platform incubated from Alibaba's commercial products, welcome to use.
Features
- A whole new frontend
- Create chaos experiment;
- Support automatic installation and uninstallation of probes;
- Support manual install probe;
- Support host experiment;
- Support k8s cluster ;
- Category management of scenarios
- Support LitmusChaos.
- One-click migration of data and probes to public cloud
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_HOST, DATASOURCE_USERNAME, DATASOURCE_PASSWORD, BOX-HOST(localHostIP:port, eg: ip:7001)
Commands of The second way:
docker run -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' \
--lower_case_table_names=1
Run Application
Download the chaosblade-box-1.0.0.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-1.0.0.jar --spring.datasource.url="jdbc:mysql://DATASOURCE_HOST:3306/chaosblade?characterEncoding=utf8&useSSL=false" --spring.datasource.username=DATASOURCE_USERNAME --spring.datasource.password=DATASOURCE_PASSWORD --chaos.server.domain=BOX-HOST> 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 --chaos.server.domain=XXXX:7001 > chaosblade-box.log 2>&1 &
If jdk17, start command need add
--add-opens java.base/java.lang=ALL-UNNAMED
Access Platform
You can use a browser to access the http://XXXX:7001 website to use the platform.
kubernetes
If you're deployed on kubernetes, the usage method is as follows:
Install chaosblade-operator
Download chaosblade-operator-1.5.0-v3.tgz package to install.
helm install chaosblade-operator chaosblade-operator-1.5.0-v3.tgz --namespace chaosblade
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-1.0.0.tgz --namespace chaosblade --set spring.datasource.password=DATASOURCE_PASSWORD
Access Platform
- Ingress
- NodePort
...
Historical Version Code Archived:https://github.com/chaosblade-io/chaosblade-box/releases/tag/0.4.x-main
Aliyun OSS download
v0.4.2
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
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
v0.4.1
This version is a stable version of 0.4.0, with a very simple operation experience, support for custom parameter components, walk-through retry, probe unload and other functions, welcome to use.
Features
- A new frontend stable version.
- Enhanced stability.
- Scenario parameters custom components.
- Retry experiment.
- Support uninstall probe.
Bug Fixes
- Kubernetes experiment fail.
- Compatible with mysql 5.7+.
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.1.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-web-0.4.1.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.1.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
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-0.4.1.tgz --set spring.datasource.password=DATASOURCE_PASSWORD --namespace chaosblade
Access Platform
- Ingress
- NodePort
...
Aliyun OSS download
v0.4.0-alpha
This version provides a new UI interface, support for multiple clusters and improvement experimental details, welcome to use.
Features
- A new frontend.
- Multi k8s cluster support.
- Support SSH channel installation probe.
Bug Fixes
- Reinstall probe error.
Others
- Improvement experimental details.
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.0.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-web-0.4.0.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.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 > 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
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-0.4.0.tgz --set spring.datasource.password=DATASOURCE_PASSWORD --namespace chaosblade
Access Platform
- Ingress
- NodePort
...
Aliyun OSS download
v0.3.2
This version enhanced stability.
Bug Fixes
- Recover k8s experiment fail use zh env.
Others
- Enhanced stability.
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.3.2.jar
and run the following command to start:
nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-web-0.3.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.3.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
Run Application
Notes: You must replace the follow parameters: DATASOURCE_PASSWORD
helm install chaosblade-box chaosblade-box-0.3.2.tgz --set spring.datasource.password=DATASOURCE_PASSWORD --namespace chaosblade
Access Platform
- Ingress
- NodePort
...