2021-04-09 11:44:48 +00:00
|
|
|
# How to extract or even edit etcd data directly
|
|
|
|
|
|
|
|
## Get Auger
|
|
|
|
https://github.com/jpbetz/auger
|
|
|
|
|
|
|
|
## Change a PV object
|
2021-06-25 16:00:38 +00:00
|
|
|
etcdctl get /registry/persistentvolumes/my_pv | auger decode > pv.yaml
|
2021-04-09 11:44:48 +00:00
|
|
|
|
|
|
|
vi pv.yaml
|
|
|
|
|
2021-06-25 16:00:38 +00:00
|
|
|
cat pv.yaml | auger encode | etcdctl put /registry/persistentvolumes/my_pv
|