Skip to content

Enable "wait for healthy containers" by default - #3928

Merged
ipspace merged 2 commits into
devfrom
clab-hc-default
Oct 8, 2026
Merged

ipspace merged 2 commits into
devfrom
clab-hc-default

Conversation

@ipspace

@ipspace ipspace commented Oct 7, 2026

Copy link
Copy Markdown
Owner

It looks like the 'wait for healthy containers' check works well. Let's make it the default setting and document how to turn it off.

It looks like the 'wait for healthy containers' check works well.
Let's make it the default setting and document how to turn it off.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The newly default timeout path gives users an incorrect configuration key in its recovery hint.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Enables container health checks by default for Containerlab and documents timeout configuration.

Changes:

  • Sets a 600-second default health timeout.
  • Documents disabling or extending health checks.
  • Clarifies SSH timeout configuration scope.
File Description
netsim/​providers/​clab.yml Enables health checks by default.
docs/​labs/​clab.md Documents health and SSH readiness behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread netsim/providers/clab.yml
sr: [ mpls-router, mpls-iptunnel ]
vxlan: [ vxlan, udp_tunnel, ip6_udp_tunnel ]
vrf: [ vrf ]
healthy_timeout: 600 # Reasonably large default "wait for containers to become healthy" timeout

@sdargoeuves sdargoeuves left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great, and indeed 600 should be a pretty good default.
unless you have ~50 vrnetlab containers, in which case you may want to increase that timeout!

@ipspace
ipspace merged commit 5a006bd into dev Oct 8, 2026
9 checks passed
@ipspace
ipspace deleted the clab-hc-default branch October 8, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants