Commit 58057a2
authored
config: Fix readiness probe causing ~3m startup delay (#610)
PR #555 changed readiness probe periodSeconds from 10 to 180 to
anticipate big clusters with 10K VMs. However, periodSeconds controls
how often Kubernetes checks the probe, not how long to tolerate
initialization. With periodSeconds=180, if the first probe at T=10s
fails (e.g. webhook server not yet serving), the next attempt is at
T=190s, leaving the pod not-Ready for over 3 minutes.
Restore periodSeconds to 10s. The pool manager's /readyz endpoint
already handles long initialization correctly — it returns failure
until IsReady() is true, and Kubernetes keeps probing every
periodSeconds until it succeeds.
Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ram Lavi <ralavi@redhat.com>1 parent 0c32241 commit 58057a2
File tree
3 files changed
+3
-3
lines changed- config
- default/manager
- release
- test
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
0 commit comments