k8wiz
Flux CD
Easy
Concepts

What does prune: true do on a Flux Kustomization?

Select your answer:

Show answer and explanation

Answer: Deletes objects from the cluster once you remove them from the source

Explanation

kustomize-controller keeps an inventory of the objects it applied. With prune enabled, an object that disappears from the source is deleted from the cluster on the next reconciliation. Without it, removed objects are left running.