Skip to content

A kubernetes plugin that lets you treat your cluster like a key-value store.

Notifications You must be signed in to change notification settings

njhale/kubectl-stash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubectl-stash

kubectl-stash is a kubectl plugin that lets you treat your cluster like a key-value store.

Examples

Stash the content of a file:

$ tree
.
└── doge.svg

0 directories, 1 file
$ cat doge.svg | kubectl stash
kgggggg7

List stashed items:

$ kubectl stash ls
kgggggg7

Get a stashed item and store it in a file:

$ kubectl stash get kgggggg7 -o doge.svg

Remove a stashed file:

$ kubectl stash rm kgggggg7

Stash a directory:

$ tar -czvf - . | kubectl stash
i8sdd155

Unpack a stashed directory:

$ kubectl stash get i8sdd155 | tar -xzvf -

About

A kubernetes plugin that lets you treat your cluster like a key-value store.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages