# What does kubectl delete -k on an overlay remove?

Kustomize, Easy (Beginner), Commands. https://k8wiz.com/uquiz/what-does-kubectl-delete-k-on-an-overlay-remove

- A. The overlay's kustomization.yaml file from disk
- B. Only the objects that the overlay itself patched
- C. Everything the overlay builds, base included
- D. The overlay's entries from the base

**Answer:** Everything the overlay builds, base included

**Explanation:** 'kubectl delete -k' builds the directory and deletes the resulting objects, so everything pulled in from the base goes too. Run 'kubectl kustomize' first to see exactly what will be removed.
