# An overlay sets namePrefix: prod- and includes a component that adds a PodDisruptionBudget named web. What is the PodDisruptionBudget called in the output?

Kustomize, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/an-overlay-sets-nameprefix-prod-and-includes-a-component-that-adds-a-poddisruptionbudget-named-web-what-is-the-poddisruptionbudg

- A. web, because namePrefix only renames resources listed under resources
- B. web, because components are built after the overlay's transformers
- C. prod-web-web, because the prefix is applied once per level
- D. prod-web, because the overlay's transformers run after its components

**Answer:** prod-web, because the overlay's transformers run after its components

**Explanation:** Kustomize loads an overlay's resources, runs its generators, then processes its components, and only then runs the overlay's own transformers such as namePrefix. By that point the component's PodDisruptionBudget is part of the set, so it gets the prefix like every other resource.
