Cancel or undo deletion of Persistent Volumes in kubernetes cluster

前端 未结 5 2110
-上瘾入骨i
-上瘾入骨i 2021-02-14 01:00

Accidentally tried to delete all PV\'s in cluster but thankfully they still have PVC\'s that are bound to them so all PV\'s are stuck in Status: Terminating.

How can I g

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-14 01:17

    You can check out this tool, it will update the Terminating PV's status in etcd back to Bound.

    The way it works has been mentioned by Anirudh Ramanathan in his answer.

    Be sure to back up your PV first.

提交回复
热议问题