resoto-plugin-cleanup-volumes


Nameresoto-plugin-cleanup-volumes JSON
Version 3.6.4 PyPI version JSON
download
home_page
SummaryVolume Cleaner Plugin
upload_time2023-07-24 18:30:11
maintainer
docs_urlNone
authorSome Engineering Inc.
requires_python>=3.9
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "resoto-plugin-cleanup-volumes",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Some Engineering Inc.",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f8/8b/e9d4ff27ab764a85a4d4fe3cfc0a32b01a11a6559663db257443cddfbd96/resoto-plugin-cleanup-volumes-3.6.4.tar.gz",
    "platform": null,
    "description": "# resoto-plugin-cleanup-volumes\nVolume cleanup plugin for Resoto\n\nThis plugin cleans up storage volumes.\n\n## Usage\n\nIn `resh` execute\n\n```\n> config edit resoto.worker\n```\n\nand find the following section\n\n```\nplugin_cleanup_volumes:\n  # Enable plugin?\n  enabled: false\n  # Minimum age of unused volumes to cleanup\n  min_age: '14 days'\n```\n\nThe 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.\n\nOptionally change the age cutoff value using the `min_age` option.\n\nExample of valid age units:\n\n```\nweeks\ndays\nhours\nminutes\n```\n\nEach 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.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Volume Cleaner Plugin",
    "version": "3.6.4",
    "project_urls": {
        "Documentation": "https://resoto.com",
        "Source": "https://github.com/someengineering/resoto/tree/main/plugins/cleanup_volumes"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "396d30e0c945d31dbf9398a3d773f941ad12b1412aed62bbe4ba29b05eb14f62",
                "md5": "b768affc1fe9acf2729e63895632c4ce",
                "sha256": "dfe2c51bfa5d7a3ec0e32694041d89afc19f73060f99d5a70ef82a612fd7c8f6"
            },
            "downloads": -1,
            "filename": "resoto_plugin_cleanup_volumes-3.6.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b768affc1fe9acf2729e63895632c4ce",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3849,
            "upload_time": "2023-07-24T18:30:10",
            "upload_time_iso_8601": "2023-07-24T18:30:10.627100Z",
            "url": "https://files.pythonhosted.org/packages/39/6d/30e0c945d31dbf9398a3d773f941ad12b1412aed62bbe4ba29b05eb14f62/resoto_plugin_cleanup_volumes-3.6.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f88be9d4ff27ab764a85a4d4fe3cfc0a32b01a11a6559663db257443cddfbd96",
                "md5": "4468e06ca1589697a9affa27544f5faa",
                "sha256": "9bb4f84c7f122f5962ea091c5f74e5c4fb216e0bc0277fe0ca45fd8582ebf0f6"
            },
            "downloads": -1,
            "filename": "resoto-plugin-cleanup-volumes-3.6.4.tar.gz",
            "has_sig": false,
            "md5_digest": "4468e06ca1589697a9affa27544f5faa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3516,
            "upload_time": "2023-07-24T18:30:11",
            "upload_time_iso_8601": "2023-07-24T18:30:11.465136Z",
            "url": "https://files.pythonhosted.org/packages/f8/8b/e9d4ff27ab764a85a4d4fe3cfc0a32b01a11a6559663db257443cddfbd96/resoto-plugin-cleanup-volumes-3.6.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-24 18:30:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "someengineering",
    "github_project": "resoto",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "resoto-plugin-cleanup-volumes"
}
        
Elapsed time: 0.33446s