Skip to content

A volume scanning tool for cloud infrastructure cross referenced with related clusters.

License

Notifications You must be signed in to change notification settings

abarrak/volume_sweeper

Repository files navigation

Volume Sweeper

CI (tests) Gem Version Test Coverage Maintainability License: MIT

A tool to scan and clean cloud infrastruture for unattached block volumes without kubernetes clusters persistent volumes.

Supported Clouds

  • OCI
  • AWS.
  • GCP.

Supported Kubernetes

Any distributions + v1.19.

Prerequisits

  1. Kubernetes: a service account with read/update access to the cluster is required, scoped to PV resources.
  2. Cloud: access is required for block volumes service (BV) with read and delete roles.

Installation

$ gem install volume_sweeper

Usage

To scan and generate a report:

volume_sweeper --account-id <ID> --cloud aws|oci

To apply deletion for unattached block volumes:

volume_sweeper --mode delete

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/abarrak/volume_sweeper.

License

MIT License.

About

A volume scanning tool for cloud infrastructure cross referenced with related clusters.

Resources

License

Stars

Watchers

Forks

Languages