Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to guarantee persistence of routes mananged by calico in kernel #9584

Open
BlueBlue-Lee opened this issue Dec 11, 2024 · 1 comment
Open

Comments

@BlueBlue-Lee
Copy link

I have install calico with bgp mode in kubernetes and enable graceful restart capability on both calico and hardware switch side.

I want to know how to keep routes in kernel when calico-bird is stopped for short of time?

Expected Behavior

  • routes managed by bird are keeped in kernel when calico-bird is restarted.
  • routes advertised to peer switch are not withdrew and in stale state for some period

Current Behavior

  • routes on local node are deleted
  • routes on peer switch are not withdrew and in stale state for some period

I want to know is it in line with expectations? If not, how calico guarantee the persistence of kernel routing table when restart?

@caseydavenport
Copy link
Member

Calico shouldn't be deleting local routes from the kernel when it restarts.

Could you provide the logs from the calico-node pod on the affected node? From both the shutdown and startup:

  • shutdown: kubectl logs -p -n calico-system <podname>
  • startup (after restart): kubectl logs -n calico-system <newpodname>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants