How to deploy spread-gce-gleaner

Follow these steps to install and configure the spread-gce-cleaner snap. This snap will run every 15 minutes executing the spread garbage collection.

Steps:

  1. sudo snap install spread-gce-cleaner --beta
  2. Download https://drive.google.com/file/d/1mMoHArIlZAn-kcNYfU0eensitOAglw78/view?usp=sharing, uncompress it on $SNAP_DATA
  3. Copy the sa.json or application_default_credentials.json required to list and delete instances to $SNAP_DATA

Spread will be automatically downloaded to $SNAP_DATA, when a new spread is needed, just delete the spread binary and it will be downloaded during the next execution.

That’s been deployed, thanks!