You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kubezero/docs/etcd_hackery.md

278 B

How to extract or even edit etcd data directly

Get Auger

https://github.com/jpbetz/auger

Change a PV object

etcdctl get /registry/persistentvolumes/my_pv | auger decode > pv.yaml

vi pv.yaml

cat pv.yaml | auger encode | etcdctl put /registry/persistentvolumes/my_pv