Commit 0fcee94
committed
Disable wait on foundation kustomizations to fix startup delays
Root cause: Flux dependency polling causes cascading delays during startup.
When wait:true is enabled, each kustomization waits for health checks AND
dependencies use 30s polling intervals instead of immediate reconciliation.
Issue: fluxcd/kustomize-controller#1412
- Dependencies poll every 30s instead of reacting to ready events
- Status becomes stale, showing "dependency not ready" even when ready
- Cascading effect: each layer adds 30-60s delay
- Total startup time: 5-10 minutes instead of <1 minute
Solution: Disable wait on foundation-layer kustomizations:
- snapshot-controller: Creates CRDs and controller (no health check needed)
- ceph-csi (app): Creates namespace only (already fixed in parent)
- external-secrets: Creates CRDs and operator (dependencies handle health)
Impact:
- Startup time reduced from minutes to seconds
- Dependencies still enforced (dependsOn unchanged)
- Child kustomizations still wait for parents
- Health checks happen at application layer, not infrastructure
The dependency chain remains intact:
1. CRDs deploy immediately (no wait)
2. Operators deploy immediately after CRDs (no wait)
3. Applications wait for operators via dependencies
4. Storage classes wait for CSI drivers1 parent 48e8fe4 commit 0fcee94
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
0 commit comments