Skip to content

Commit d245889

Browse files
justin808claude
andcommitted
Docs: add timeoutSeconds to CPLN probes (#4053)
Add `timeoutSeconds: 5` to the Control Plane readinessProbe and livenessProbe examples so the curl `--max-time 3` budget, not the orchestrator's default 1s probe timeout, owns the deadline — matching the existing /ready exec probe pattern in this doc. Without it the orchestrator can kill curl before it finishes, flaking a healthy probe. Regenerate llms-full.txt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7fdd298 commit d245889

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/oss/building-features/node-renderer/health-checks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ spec:
269269
- http://localhost:3800/health
270270
periodSeconds: 5
271271
failureThreshold: 3
272+
timeoutSeconds: 5 # exceed curl --max-time 3 so the probe, not the orchestrator, owns the timeout
272273
livenessProbe:
273274
exec:
274275
command:
@@ -280,6 +281,7 @@ spec:
280281
- http://localhost:3800/health
281282
periodSeconds: 10
282283
failureThreshold: 3
284+
timeoutSeconds: 5 # exceed curl --max-time 3 so the probe, not the orchestrator, owns the timeout
283285
```
284286

285287
Do **not** point a `--fail` Command probe at `/ready` unless something pre-warms the renderer, or the probe will fail

llms-full.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15513,6 +15513,7 @@ spec:
1551315513
- http://localhost:3800/health
1551415514
periodSeconds: 5
1551515515
failureThreshold: 3
15516+
timeoutSeconds: 5 # exceed curl --max-time 3 so the probe, not the orchestrator, owns the timeout
1551615517
livenessProbe:
1551715518
exec:
1551815519
command:
@@ -15524,6 +15525,7 @@ spec:
1552415525
- http://localhost:3800/health
1552515526
periodSeconds: 10
1552615527
failureThreshold: 3
15528+
timeoutSeconds: 5 # exceed curl --max-time 3 so the probe, not the orchestrator, owns the timeout
1552715529
```
1552815530

1552915531
Do **not** point a `--fail` Command probe at `/ready` unless something pre-warms the renderer, or the probe will fail

0 commit comments

Comments
 (0)