Flux CD
Medium
Troubleshooting
A Deployment keeps changing and you don't know which Flux object manages it. Which command tells you?
Select your answer:
Show answer and explanation
Answer: flux trace deployment <name> -n <namespace>
Explanation
'flux trace' follows the labels Flux puts on applied objects back to the Kustomization or HelmRelease that applied it, and on to the source and revision. 'flux tree kustomization <name>' goes the other way and lists everything a Kustomization manages.
More medium Flux CD questions
- 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?
- How do you substitute a per-cluster value such as ${cluster_region} into the manifests a Flux Kustomization applies?
- How does Flux decrypt Secrets that are stored encrypted with SOPS in Git?
- What does the --no-cross-namespace-refs=true flag on the Flux controllers do?
- How can a Kustomization apply resources with a tenant's limited permissions instead of kustomize-controller's own?