Commit 19fb2b3
fix(apps): startupProbe initialDelaySeconds=20 to clear settle window
The original probe (periodSeconds: 2, failureThreshold: 30, no
initialDelay) silenced cold-start liveness/readiness *restarts* but
not the underlying "Unhealthy" Warning events — kubelet emits the
same event for startup, liveness, and readiness probe failures, and
the 2s period generates 5-7 failures during the ~13s cold start
instead of the chart-default 1-3 (periodSeconds: 10).
Merge-queue deploy of #1636 failed the check-event-warnings action,
which records a marker post-reconcile and fails if any Warning event
has lastTimestamp within a 90s settle window. The rollout these
patches force created new pods during that window; their startup
probes fired every 2s during cold start; their events landed past
the marker.
Set initialDelaySeconds: 20 (past the observed ~13s cold start) and
periodSeconds: 5 so the first probe lands on a serving container.
Zero failure events on a normal rollout; failureThreshold: 12 leaves
60s of grace if a container is unusually slow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d7295fb commit 19fb2b3
3 files changed
Lines changed: 26 additions & 9 deletions
File tree
- k8s/bases/apps
- actual-budget
- headlamp
- homepage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| |||
0 commit comments