Uninstalling AWS Bottlerocket ARM Agent
You can uninstall the Qualys Cloud Agent from the Cloud Agent user interface or Cloud Agent API. When you uninstall Cloud Agent using the user interface or API, the Cloud Agent stops working, but data and log files associated with it are not removed. Hence, you have to remove these files manually. Following are the steps to uninstall the cloud agent from the AWS Bottlerocket ARM host.
Log in to the jump host.
- Run the following command to uninstall the Qualys Cloud Agent:
kubectl delete -f qualys-cloud-agent-deploy.yml
- The following image shows the Cloud Agent status after uninstallation.
- Log in to the AWS Bottlerocket ARM host.
- Remove the Cloud Agent data and log files from the AWS Bottlerocket ARM host available at the following locations:
The log files for the Admin Container:/.bottlerocket/rootfs/var/log/qualys
The database files and configuration file for the Admin container:/.bottlerocket/rootfs/opt/qualys