Sometimes, when we are working with custom resources, they are stucked in a Terminating
phase.
Today, we will see how to resolve this use easily.
Warning
First I need to warn you. Force deleting a custom resource can be risky and generate other issues. So be sure about what you are doing before forcing the deletion.
To force delete a custom resource, follow these steps :
- Edit the Object :
kubectl edit customresource/name
- Remove finalizer parameter
- Delete the object :
kubectl delete customresource/name
And that's it!
I hope it will help you! 🍺
Top comments (0)