dirathea / kubectl-unused-volumes

List all unused volumes on your cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Go 96.0%Language:Makefile 4.0%