Skip to content

Manual Resource Cleanup

If a deletion policy of Orphan leaves resources behind:

  1. Identify orphaned resources by label:
kubectl get managed -l crossplane.io/composite=<xr-name>
  1. Delete orphaned resources manually:
kubectl delete <kind> <name>
  1. For cloud resources, use the AWS console or CLI to verify cleanup.

  2. Update the XR deletion policy before re-creating if cleanup is desired:

spec:
  deletionPolicy: Delete