Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dirathea/kubectl-unused-volumes
List all unused volumes on your cluster
https://github.com/dirathea/kubectl-unused-volumes
krew kubernetes kubernetes-plugin
Last synced: 16 days ago
JSON representation
List all unused volumes on your cluster
- Host: GitHub
- URL: https://github.com/dirathea/kubectl-unused-volumes
- Owner: dirathea
- License: apache-2.0
- Created: 2020-05-06T07:49:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T17:49:20.000Z (12 months ago)
- Last Synced: 2024-08-08T18:20:00.118Z (4 months ago)
- Topics: krew, kubernetes, kubernetes-plugin
- Language: Go
- Homepage:
- Size: 188 KB
- Stars: 40
- Watchers: 0
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - dirathea/kubectl-unused-volumes - List all unused volumes on your cluster (kubernetes)
README
# kubectl-unused-volumes
A `kubectl` plugin to gather all PVC and output all pvcs that doesn't belong to any workloads.
This plugins checks for standard kubernetes workloads :
- DaemonSet
- Deployment
- Job
- StatefulSet## Quick Start
Install unused-volumes via [krew](https://krew.sigs.k8s.io/)
```
kubectl krew install unused-volumes# Scan for all unused volumes in current context and default namespace
kubectl unused-volumes
```## Demo
![Scan Unused pvc on namespace infra](assets/example-1.png)