Skip to content

[CORE-13960] Cover restart time subtleties in the dual ToR doc - #3231

Open
nelljerram wants to merge 3 commits into
tigera:mainfrom
nelljerram:dual-tor-upgrade-restart
Open

nelljerram wants to merge 3 commits into
tigera:mainfrom
nelljerram:dual-tor-upgrade-restart

Conversation

@nelljerram

Copy link
Copy Markdown
Member

We've enhanced the early networking logic - which is part of our dual ToR solution - to respect the restart times that are configured for BGP to the ToRs, and thereby:

  1. to provide more seamlessly connectivity to each node's stable IP, even when Calico on that node is being upgraded or restarted

  2. to retain the Calico-advertised pod routes for as long as possible during an upgrade or restart.

This PR has the corresponding doc updates.

@nelljerram
nelljerram requested a review from a team as a code owner November 19, 2026 11:10
Copilot AI lite review requested due to automatic review settings November 19, 2026 11:10
@netlify

netlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for calico-docs-preview-next ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 51ef9a8
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6afee338cf69686ad194f568
😎 Deploy Preview https://deploy-preview-3231--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 51ef9a8
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6afee338befb8d3aac9c8001
😎 Deploy Preview https://deploy-preview-3231--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 87 (no change from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

🟡 Changes recommended

A moderate active finding remains because the Calico Cloud dual-ToR documentation still contains stale graceful-restart timing and systemd host-path instructions for the same workflow.

1 open issue
What changed in this PR

Updates the Calico Enterprise dual ToR documentation to explain how early networking coordinates BGP takeover with configured graceful-restart and LLGR timers during node restarts or upgrades.

Changes:

  • Documents per-session restart-time handling and the consequences of taking over BGP sessions too early or too late.
  • Adds LLGR compatibility guidance and recommendations for temporarily increasing maxRestartTime during upgrades.
  • Documents mounting the Calico runtime directory so early networking can read restart-times.json.
File Description
calico-enterprise/​networking/​configuring/​dual-tor.mdx Adds BGP restart-timing guidance, LLGR warnings, upgrade recommendations, and runtime-directory mount instructions for early networking.

Review effort: Lite

Comment on lines +123 to +128
- Later, the $[nodecontainer] pod might be shut down, e.g. for restart or
upgrade. The early networking container discovers the restart times that the
$[nodecontainer] pod was using on its BGP sessions to the ToR routers and
takes over each of those sessions, with its own BGP, when that session's
restart time has expired, to ensure that the node's stable IP address
continues to be advertised to the ToRs and other nodes. The cycle can now
We've enhanced the early networking logic - which is part of our dual ToR
solution - to respect the restart times that are configured for BGP to the
ToRs, and thereby:

1. to provide more seamlessly connectivity to each node's stable IP, even when
Calico on that node is being upgraded or restarted

2. to retain the Calico-advertised pod routes for as long as possible during an
upgrade or restart.

This PR has the corresponding doc updates.
@nelljerram
nelljerram force-pushed the dual-tor-upgrade-restart branch from 257f0cd to 2c3897e Compare November 19, 2026 11:17
Move the takeover-timing, LLGR and maxRestartTime notes into body text,
move the restart times mount explanation out of the systemd note, and
write the new prose one sentence per line.  Spell out GR and LLGR, use
seconds in prose, a hyphenated placeholder for calicoRunHostPath, the
present tense, and "might".
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.

2 participants