k8wiz
Flux CD
Medium
Concepts

You delete a Flux Kustomization that has prune: true and no deletionPolicy. What happens to the objects it applied?

Select your answer:

Show answer and explanation

Answer: They are deleted from the cluster

Explanation

The default deletion policy, MirrorPrune, follows prune: with prune: true, kustomize-controller garbage-collects everything in the Kustomization's inventory before the object goes away. Set spec.deletionPolicy: Orphan to keep the objects.