Order Kustomizations with depends-on

app waits until the infra Kustomization is ready, so everything is applied in the right order

flux create kustomization app --source=GitRepository/<name> --path=./app --depends-on=infra --prune=true --interval=10m

tool
flux29 commands
tags
fluxgitopsk8stroubleshooting

More flux commands

  • flux check

    Checks that all Flux controllers are running and the CRDs are installed

  • flux get all -A

    Summary table of Kustomizations, HelmReleases and sources with their sync status

  • flux reconcile kustomization <name> --with-source -n <ns>

    Pulls the latest commit from git and applies it right now

  • flux reconcile helmrelease <name> --with-source -n <ns>

    Runs the Helm install or upgrade again right now

  • flux trace <kind>/<name> -n <ns>

    Shows which Flux objects created and manage this resource

all 29 flux commands