Skip to content

Instantly share code, notes, and snippets.

@suryastef
Last active December 4, 2025 20:55
Show Gist options
  • Select an option

  • Save suryastef/e72b46543cf07bd6c08b69d2eed8e765 to your computer and use it in GitHub Desktop.

Select an option

Save suryastef/e72b46543cf07bd6c08b69d2eed8e765 to your computer and use it in GitHub Desktop.
Uninstall google-cloud-ops-agent, used by GCP monitoring and logging for GCE instances
# This will remove google-cloud-ops-agent installation
curl -fsSL https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/refs/heads/main/gce/add-google-cloud-ops-agent-repo.sh | bash -s -- --uninstall --remove-repo
# Reference can be found here: https://github.com/GoogleCloudPlatform/getting-started-python/blob/main/gce/add-google-cloud-ops-agent-repo.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment