Skip to content

Instantly share code, notes, and snippets.

@hgautam
Created August 22, 2021 20:04
Show Gist options
  • Save hgautam/0f8d6e6046d575d3171c656e58ba1e9b to your computer and use it in GitHub Desktop.
Save hgautam/0f8d6e6046d575d3171c656e58ba1e9b to your computer and use it in GitHub Desktop.

List compute disks:

  • gcloud compute disks list

Delete the disks:

  • gcloud compute disks delete --quiet --zone us-central1-a

Note: Disk name should include following string as part of its name: gke-lfs268-lab. Default zone is us-central1-a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment