HG1
(HG)
July 25, 2022, 9:06am
1
Hi
I have one PersistentVolumeClaim with status Terminating since I accidentally executed the delete command.
awx-projects-claim Terminating pvc-f56399e7-fa07-42af-8251-6c2d20c19b2a 8Gi RWO local-path 292d
Somewhere I found a solution with a go program. But that depends on etcd which is not used in my environment.
How can I resolve this?
What happens if I restart the k3s environment?
Is manual intervention needed in that case??
Regards Hans-Peter
Boardy404
(Boardy404)
July 25, 2022, 9:53am
2
Hey,
Is your AWX still deployed? If you have asked k8s to delete a PVC but it is still in use I think it can’t be fully deleted. You might need to tear down your deployment for the claim to be released, which should also delete the PV, and then both should get recreated on a fresh install.
Ian
HG1
(HG)
July 25, 2022, 11:05am
3
Hi
Yes AWX is still deployed and should not be torn down.
So I am a bit afraid of what happens when the vm is restarted.
The volume has policy RETAIN.
pvc-f56399e7-fa07-42af-8251-6c2d20c19b2a 8Gi RWO Retain Bound default/awx-projects-claim local-path 292d
I need to know how to address issues when a k3s is restarted.
Thanks !
Hans