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