Uninstalling Cloud Agent

Uninstalling Cloud Agent from Cloud Agent User Interface or API

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 Container host.

Log in to the jump host.

  1. Run the following command to uninstall the Qualys Cloud Agent:

    kubectl delete -f qualys-cloud-agent-deploy.yml
  2. Log in to the AWS Bottlerocket Container host.
  3. Remove the Cloud Agent data and log files from AWS Bottlerocket container host available at the following locations:

    In the Admin container: /.bottlerocket/rootfs/var/log/qualys

    In AWS Bottlerocket Container host: /var/log/qualys
  4. The following image shows the Cloud Agent status after uninstallation.