To better support a wide range of fault actions on hosts and containers, fault injection will be performed on target resources through fault agents. Users can independently manage fault probes through Chaotic Fault Generator > Agent Management. Directions
Select the Type of Agents
Currently, CFG supports self-management of agents for two object types: Cloud Virtual Machine(CVM) and Tencent Kubernetes Engine (TKE). Install Agents
Cloud Virtual Machine (CVM)
1. Select the region where you want to add a new agent, and then click Add Agent.
Note:
Currently, installing agents is not supported on the following operating system versions: Ubuntu 20.04, Ubuntu 22.04, Ubuntu Server 24.04 LTS 64-bit, Debian 11.1, Debian 11.4, Debian 12.0, Windows (all versions), OpenCloudOS (all versions), AlmaLinux (all versions), and Fedora (all versions).
2. Check the machine instances that require agent installation, and click Next to proceed with machine detection.
3. After the detection is passed, if the machine status indicates installable or upgradable, you can then click Start Installation/Upgrade to install the agent on the target machine.
4. After starting the installation, wait patiently for the agent installation to complete. Once the installation is successful, click Close to proceed with fault injection on the machine resources.
Tencent Kubernetes Engine (TKE)
1. Click the Tencent Kubernetes Engine (TKE) tab to display the fault agents available in the current region.
2. Select the region where you want to add a new agent, and then click Add Agent.
3. Check the clusters that require agent installation and click Next. CFG will detect whether the specified clusters meet the conditions for agent installation.
4. If the test result indicates installable, pending upgrade, the conditions for agent installation are met. You can then click Start Installation/Upgrade to install the agent on the eligible clusters. If the conditions for the agent are not met, see the Remarks for the description of the check results and proceed with the necessary fixes.
Uninstall Agents
Batch Uninstall
1. Go to the Agent Management section under the corresponding resource type, check the resources that need to be uninstalled, and click Batch Uninstall to initiate the agent uninstallation operation.
2. When the agent status changes to Not Installed, it indicates that the agent has been successfully uninstalled.
Uninstall Individually
1. You can locate the installed agents in the list and click Uninstall to initiate the agent uninstallation operation.
2. If the agent status does not update promptly during the installation/uninstallation process, you can click the refresh icon at the top to manually refresh the status.
Delete Agents
If you need to delete agent records from CFG, you must first uninstall the agents from the installed resources. Once the agent status changes to Not Installed, you can proceed to delete the agent record by selecting the delete option in the record's operation items.
Was this page helpful?