Diff a Kustomization against the cluster

Server-side dry-run that shows 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>

    Lists every object a Kustomization owns, including nested Kustomizations

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

    Renders the final manifests offline with Flux substitutions, then validates them on the server

  • flux get images all -A

    Lists all ImageRepositories, policies and update automations in all namespaces

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

    Shows which tag each policy selected and the last scan result for each repository

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

    Sends reconcile events to Slack through a provider and an alert; the webhook is stored in a secret

all 29 flux commands