Uninstalling Cloud Agent
Uninstalling the agent from the Cloud Agent module UI or API
When you uninstall a cloud agent using the Cloud Agent module user interface or Cloud Agent API, the agent and license is removed from the Qualys subscription. We’ll also purge the associated agent host record and scan results for any licensed modules, i.e. Vulnerability Management, Policy Compliance.
Self revoke is not supported. If revoke request sent from UI or API, agent will be halted but won't uninstall itself, and manual intervention is required.
Uninstalling the agent from Container
- Login to the OpenShift via Bastion (jump) host or Master node using OpenShift Container login.
Use the same host you have used while installing Qualys Cloud Agent.
- Run the following command to remove the Qualys Cloud Agent
# oc delete -f lxa-openshift-crio-ds.yml
- Remove Qualys Cloud Agent Config, Data, and Log Directories manually on all masters and workers
# sudo rm -rf /usr/local/qualys/cloud-agent/data
# sudo rm -rf /etc/qualys/cloud-agent
# sudo rm -rf /var/log/qualys