Skip to content
forked from GiGurra/kdump

Dumps all kubernetes api resources (pods, deployments, namespaces, etc..) to files in yaml form

License

Notifications You must be signed in to change notification settings

rockerfinance/kdump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

kdump

Dumps all kubernetes api resources (pods, deployments, namespaces, etc..) to files in yaml form.

This is implemented in several languages (just for the heck of it)

My use case: poor man's etcd -> git sync

Dumps all api-resources from all configured contexts.

  • Calls kubectl api-resources to figure out what it has access to, then starts downloading all of it using kubectl get <resource> -o yaml > <file>.

NOTE: also dumps secrets, if you explicitly tell it to do so by providing an encryption key (aes gcm)

About

Dumps all kubernetes api resources (pods, deployments, namespaces, etc..) to files in yaml form

Resources

License

Stars

Watchers

Forks

Packages

No packages published