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.
More medium Flux CD questions
- Which file in a Git repository tells source-controller to leave files out of the artifact it builds?
- How can a HelmRelease install a chart that is stored in an OCI registry?
- A GitRepository sets both ref.branch: main and ref.tag: v1.2.0. Which one does Flux check out?
- A Deployment keeps changing and you don't know which Flux object manages it. Which command tells you?
- A Kustomization must only be applied after another Kustomization that installs CRDs is ready. Which field do you set?
- What does spec.wait: true do on a Flux Kustomization?