Skip to content
RoryCrispinPublic

About

kubefs is a FUSE driver for kubernetes

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubefs is a FUSE driver for Kubernetes

Use the plaintext tools which you already know inside out to interact with your clusters.

kubefs makes your clusters available as a tree of plaintext files.

kubectl --context majestic-gnat --namespace flycatcher get po nginx-1 -oyaml
becomes
cat /tmp/kubefs/majestic-gnat/namespaces/flycatcher/pods/nginx-1/def.yaml

You can exec commands on containers too;

kubectl --context majestic-gnat --namespace flycatcher exec nginx-1 --container nginx-ingress -- cat blah
becomes
echo "cat blah" >> /tmp/kubefs/majestic-gnat/namespaces/flycatcher/pods/nginx-1/containers/nginx-ingress

But it's true power comes when you use your existing tools:

Diff two pod definitions with emacs:
ediff /tmp/kubefs/majestic-gnat/namespaces/flycatcher/pods/nginx-1/def.yaml /tmp/kubefs/majestic-gnat/namespaces/flycatcher/pods/nginx-2/def.yaml

About

kubefs is a FUSE driver for kubernetes

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages