Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

List all unused volumes on your cluster

Awesome Lists containing this project

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)