Diff kustomization vs cluster

Server-side dry-run showing exactly what Flux would change before applying

flux diff kustomization <name> --path ./overlays/prod

tool
flux29 commands
tags
fluxgitopsdebugk8s

More flux commands

  • flux tree kustomization <name>

    List every object a kustomization owns, including nested kustomizations

  • flux build kustomization <name> --path ./ | kubectl apply --dry-run=server -f -

    Render the final manifests offline with Flux substitutions, then validate server-side

  • flux get images all -A

    Show all ImageRepositories, policies and update automations across namespaces

  • flux get image policy -A && flux get image repository -A

    See which tag each policy selected and last scan results per repository

  • flux create provider slack --type slack --secret-ref webhook && flux create alert prod --provider-ref slack --event-source 'Kustomization/*' --event-severity info

    Wire reconcile events to Slack via a provider+alert; note: webhook lives in a secret

all 29 flux commands