{"id":20982996,"url":"https://github.com/tkestack/volume-decorator","last_synced_at":"2025-06-25T23:37:21.031Z","repository":{"id":100680199,"uuid":"219719056","full_name":"tkestack/volume-decorator","owner":"tkestack","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-15T07:30:37.000Z","size":154,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-14T16:42:03.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkestack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-05T10:33:29.000Z","updated_at":"2022-06-14T08:32:58.000Z","dependencies_parsed_at":"2023-05-18T02:45:40.018Z","dependency_job_id":null,"html_url":"https://github.com/tkestack/volume-decorator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tkestack/volume-decorator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkestack%2Fvolume-decorator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkestack%2Fvolume-decorator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkestack%2Fvolume-decorator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkestack%2Fvolume-decorator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkestack","download_url":"https://codeload.github.com/tkestack/volume-decorator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkestack%2Fvolume-decorator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973304,"owners_count":23238547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T05:47:23.235Z","updated_at":"2025-06-25T23:37:21.011Z","avatar_url":"https://github.com/tkestack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# volume-decorator\n\nController that maintains more runtime information for Kubernetes volume(PVC), such as application identities, real usage, etc.\n\n## Features\n\n- Check volume availability when a workload with volumes created.\n- Collect workloads attached by of a volume.\n- Maintain realtime status of volumes, such as `Pending`, `Expanding`, etc.\n- Collect current mounted nodes of a volume.\n- Collect real usage bytes of a volume.\n\n## Prerequisites\nThese build instructions assume you have a Linux build environment with:\n\n-  Docker\n-  git\n-  make\n-  golang  version \u003e 1.11, with GO111MODULE=on\n-  revive  `go get -u github.com/mgechev/revive`\n\n## Build\n\nTo make the binary, just run:\n\n```bash\nmake volume-decorator\n```\n\nThe binary will be located at `output/bin/volume-decorator`.\n\n## Usage\n\n`volume-decorator` can be deployed inside the kubernetes cluster:\n\n1. Create the RBAC objects needed by `volume-decorator`:\n    ```bash\n    kubectl -f deploy/kubernetes/rbac.yaml\n    ```\n\n2. Create a deployment to run the `volume-decorator`:\n    ```bash\n    kubectl -f deploy/kubernetes/deployment.yaml\n    ```\n\n## Examples\n\nThere are a large number of examples in [examples](examples/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkestack%2Fvolume-decorator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkestack%2Fvolume-decorator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkestack%2Fvolume-decorator/lists"}