Skip to content

kha7iq/pvu

Repository files navigation

UsageTUI controlsInstallation

Pod Volums (pvu)

pvu is a kubectl plugin for inspecting pod volumes.

It can run in two modes:

  • interactive TUI mode for browsing pods in a namespace
  • direct CLI mode for printing volume details for a specific pod

Usage

pvu

Without arguments, pvu starts the interactive TUI:

kubectl pvu

To inspect a specific pod directly:

kubectl pvu POD_NAME

To target a specific namespace:

kubectl pvu -n kube-system
kubectl pvu POD_NAME -n kube-system

Show version information:

kubectl pvu --version

Show help:

kubectl pvu --help

Behavior

pvu uses the current Kubernetes context unless a namespace or kubeconfig file is provided explicitly.

When no pod name is given, the command opens the interactive TUI. When a pod name is given, it prints the pod volume view directly.

TUI controls

In the pod list view:

  • / starts filtering
  • / k moves up
  • / j moves down
  • enter opens the selected pod
  • q or ctrl+c quits

In the detail view:

  • b or esc goes back
  • q or ctrl+c quits

Installation

Install manually as a kubectl plugin

Place the binary somewhere on your PATH with the name kubectl-pvu.

Example:

sudo install -m 0755 kubectl-pvu /usr/local/bin/kubectl-pvu

Then run:

kubectl pvu --help

Install with Krew

Install pvu from your Krew index

kubectl krew install pvu

After install:

kubectl pvu --help
kubectl pvu --version

To remove it:

kubectl krew uninstall pvu

About

PVU is a kubectl plugin for inspecting pod volumes usage, with both interactive TUI and direct pod lookup modes.

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages