Skip to content

ava-labs/kubectl-unused-volumes

 
 

Repository files navigation

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

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

About

List all unused volumes on your cluster

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.3%
  • Makefile 4.7%