Cluster information:
Kubernetes version: v1.20
Cloud being used: bare-metal
Hi,
In the documentation I see that, deleting a custom resource definition( kubectl delete
) results in all the custom resources of that type getting deleted.
Delete a CustomResourceDefinition
When you delete a CustomResourceDefinition, the server will uninstall the RESTful API endpoint and delete all custom objects stored in it.
What happens if we run kubectl replace
on a custom resource definition? Does that have a similar effect? i.e. Is there a chance of the existing custom resources being deleted?