Agent Install
The probe functions as a platform connection, command delivery channel, and data collection. Therefore, if you need to experiment the target cluster or host, install the probe on the target cluster or host so that the expriment can be converted into commands and delivered to the target host.
At install Box platform then ,enter Box main page,In the left navigation bar, select Probe Management,Select different probe installation methods based on the end-side environment
Install on a host
Automatic probe installation
Take advantage of the automatic installation probes, which need to be available when the Box platform is installed [Environment preparation for automatic probe installation](/en/docs/1.7.3/getting-started/installation-and-deployment/platform-box-install-and-uninstall/#Step 2 Ensure that the environment can automatically install the probe),Otherwise, it cannot be used.
- Enter Probe Management page,then click on the top right corner Automatic probe installation button
- Depending on whether the application name exists,select Existing Applications and Adding an Application,And fill in the target host IP address And SSH login username and password
- Finally, click Install
Manually install the probe
- Enter Probe Management page ,then click to the top right Manually install the probe buttoon or on the page Access probe ,The probe installation guide page is displayed,
- Click host ,The command prompt page for manual host installation is displayed
- Copy the commands on the command prompt page, replace the required parameters, and run the commands on the target host
The parameters are described as follows:
Parameter Name | note | default | example |
---|---|---|---|
p | app-name | chaos-default-app | my-test |
g | app-group-name | chaos-default-app-group | my-test-group |
P | agent-port | 19527 | 19527 |
t | chaosblade-box的ip:port | ||
172.0.0.1:7001 |
Kubernetes environment installation
In the Kubernetes environment, only manual installation is available
- EnterProbe ManagementAfter the page, click on the top right cornerManually install the probebutton or on the page Access probe,The probe installation guide page is displayed
- Click build Kubernetes,The command prompt page for manual host installation is displayed
- Follow the instructions on the installation tips page to download the Chart package first, and then install with Helm
The parameters are described as follows:
paramas | note | default | example |
---|---|---|---|
transport.endpoint | chaosblade-box的ip:port | ||
127.0.0.1:7001 | |||
controller.cluster_id | the Installed k8s cluster's ID | abcdefg123hi | |
controller.cluster_name | the Installed k8s cluster's name | test-cluster |
- If you need to experiment the cluster, install chaosblade-operator. For details, see ChaosBlade-Operator[chaosblade-operator Installation Guide](/en/docs/1.7.3/getting-started/installation-and-deployment/tool-chaosblade-install-and-uninstall/# Installation kubernetes Environment)