Skip to content

Reduce calico-node readiness probe period to 10s#4609

Merged
caseydavenport merged 1 commit intotigera:masterfrom
caseydavenport:casey-node-readiness-probe
Mar 30, 2026
Merged

Reduce calico-node readiness probe period to 10s#4609
caseydavenport merged 1 commit intotigera:masterfrom
caseydavenport:casey-node-readiness-probe

Conversation

@caseydavenport
Copy link
Copy Markdown
Member

The operator sets a global default periodSeconds: 30 for readiness probes across all components. For calico-node, this means it takes ~35-40s to report ready even though BGP peers typically establish within ~10s of container start. The first probe fires at t=0 (always fails since nothing is running yet), and the next one doesn't come until t=30, by which point everything has been ready for ~20s.

This sets periodSeconds: 10 explicitly on the calico-node readiness probe, overriding the global default. Also reduces timeoutSeconds from 10 to 5 since it should be less than the probe period, and the readiness check itself (BIRD socket query + Felix HTTP GET) is fast.

Reduce calico-node readiness probe period from 30s to 10s, cutting the time for nodes to report ready from ~35-40s to ~15-20s.

The global default readiness probe period (30s) causes calico-node to
take ~35-40s to report ready, even though BGP peers typically establish
within ~10s of container start. The long probe period means the first
probe fires before anything is running, and the second doesn't fire
until 30s later.

Set PeriodSeconds explicitly on the calico-node readiness probe to 10s,
overriding the global default. Also reduce TimeoutSeconds from 10s to
5s to stay safely under the probe period.
@caseydavenport caseydavenport merged commit 80a7134 into tigera:master Mar 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants