Skip to content

Support etcdv3 batch json yaml toml envfile dump and restore

License

Notifications You must be signed in to change notification settings

victor23d/etcd-batch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incomplete, WORK IN PROGRESS

ETCD BATCH

Etcd batch can import a json/yaml/toml/envfile to etcd or dump etcd to a json/yaml/toml/envfile

Support file format JSON, YAML, TOML, envfile

import a json file

etcd_batch /prefix < foo.json

dump a json file

etcd_batch /prefix > bar.json

This tool is created due to this issue: etcd-io/etcd#8205

Similiar tools: etcdtool but not support for etcd v3.

TODO

kubectl style command line

etcd_batch apply/delete -n [namespace] -f foo.json

etcd_batch get -n [namespace] > bar.json

About

Support etcdv3 batch json yaml toml envfile dump and restore

Resources

License

Stars

Watchers

Forks

Packages

No packages published