Skip to main content

Volume Cleaner Plugin

Project description

resoto-plugin-cleanup-volumes

Volume cleanup plugin for Resoto

This plugin cleans up storage volumes.

Usage

In resh execute

> config edit resoto.worker

and find the following section

plugin_cleanup_volumes:
  # Enable plugin?
  enabled: false
  # Minimum age of unused volumes to cleanup
  min_age: '14 days'

The default volume age is 14 days. Meaning if a volume is not in use and has not had any read or write IOPS within the last 14 days it will be deleted.

Optionally change the age cutoff value using the min_age option.

Example of valid age units:

weeks
days
hours
minutes

Each of them can be abbreviated down to one letter. E.g. 7d, 24h, 60m, etc. A space in between the numeric and the unit is optional, meaning 7d and 7 days are equivalent.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resoto-plugin-cleanup-volumes-3.3.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resoto_plugin_cleanup_volumes-3.3.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file resoto-plugin-cleanup-volumes-3.3.3.tar.gz.

File metadata

File hashes

Hashes for resoto-plugin-cleanup-volumes-3.3.3.tar.gz
Algorithm Hash digest
SHA256 8caab7e9b5291f5c4b77ed8bcbb8d5c4b4d2e45b83a2afb8c6ae835d1cf5cc8d
MD5 069ce4ec9ede39af7fd085bf381ddc82
BLAKE2b-256 ec787c886546bd5f030e51952c171ee1385574273a46a97243ded6f5f99645d8

See more details on using hashes here.

File details

Details for the file resoto_plugin_cleanup_volumes-3.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for resoto_plugin_cleanup_volumes-3.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 810b5e370f887954b56e32c77650eb2c371eac3b74e3d86cdfa7b8003896ea28
MD5 5c0705c91f21a04ffa6fa8c8d51dc246
BLAKE2b-256 13dd4d431b683b825437dcbd35138e8afd7fa7d8c0c84780d52c99444e18db4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page