k8wiz
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.