k8wiz
Flux CD
Easy
Concepts

Someone changes a Flux-managed Deployment with kubectl edit. What happens?

Select your answer:

Show answer and explanation

Answer: Flux puts it back to the state in Git at the next reconciliation

Explanation

Git is the source of truth. On each reconciliation kustomize-controller applies the manifests with server-side apply, which resets the fields it manages. To change the Deployment for good, change it in Git.