Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/clbx/kubectl-browse-pvc

Kubectl plugin for browsing PVCs on the command line
https://github.com/clbx/kubectl-browse-pvc

kubectl kubectl-plugins kubernetes pvc

Last synced: about 1 month ago
JSON representation

Kubectl plugin for browsing PVCs on the command line

Awesome Lists containing this project

README

        

# kubectl-browse-pvc
Kubectl plugin to browse a Kubernetes PVC from the command line

I constantly found myself spinning up dummy pods to exec into them so I could browse a PVC, this takes a few steps out of creating dummy pods to check out the contents of a PVC.

Install via krew
```
kubectl krew install browse-pvc
```

Usage

```
kubectl browse-pvc -n
```
On an unbound PVC. The tool spins up a pod that mounts the PVC and then execs into it allowing you to modify the contents of the PVC. The Job finishes and cleans up the pod when you disconnect.