Upgrading Cloud Agent

The Qualys Cloud Agent for GCP COS does not support the auto-upgrade option to its latest version. Hence, to update the Qualys Cloud Agent, you have to first remove the old agent configuration and replace it with the latest agent configuration.

  1. Log in to the GCP Container Optimized OS host.
  2. Upload the new Qualys Cloud Agent image in Google Artifacts registry and update the image name in the lxa-gke-deploy.yml file. Refer to the Deploy Qualys Cloud Agent Image on GCP Container Optimized OS Cluster to learn more.
  3. Delete the old lxa-gke-deploy.yml file associated with the Qualys Cloud Agent image using the following command.
    kubectl delete -f <Old .yml File Name>

    For example,
    kubectl delete -f <lxa-gke-deploy.yml>
  4. Update the Qualys Cloud Agent image name in the new lxa-gke-deploy.yml file.
  5. Deploy the new lxa-gke-deploy.yml file to the GCP COS using the following command.
    kubectl apply -f <New .yml File Name>

    For example,
    kubectl apply -f <lxa-gke-deploy.yml>