Order Flux Kustomization dependencies with dependsOn to sequence multi-tier deployments

domain: fluxcd.io/flux/components/kustomize · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Author separate Kustomization resources for each tier (e.g., `infrastructure`, `cert-manager`, `applications`)
  2. Add `spec.dependsOn` to each Kustomization that lists prerequisite Kustomization names; Flux waits for dependsOn targets to report Ready before applying the dependent
  3. Set appropriate `spec.healthChecks` on prerequisite Kustomizations so Flux can verify readiness (e.g., wait for a Deployment to reach its desired replica count)
  4. Commit all Kustomization manifests to Git; Flux picks them up on the next source reconciliation cycle
  5. Inspect dependency resolution with `flux get kustomizations` — a stuck dependent will show a waiting message referencing its unready prerequisite
  6. Use `flux reconcile kustomization <name> --with-source` to force re-evaluation when debugging ordering issues

Known gotchas

Related routes

Configure Flux CD HelmRelease with dependsOn and a valuesFrom reference to a ConfigMap for environment-specific overrides
fluxcd.io · 5 steps · unrated
Force Flux CD reconciliation via annotations and the Flux CLI
fluxcd.io/flux/cmd · 5 steps · unrated
Configure Flux CD image update automation with ImagePolicy semver filtering and ImageUpdateAutomation to auto-commit image tag bumps to Git
Flux CD · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans