Description
Cilium Feature Proposal
Thanks for taking time to make a feature proposal for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your proposed feature related to a problem?
No
Describe the feature you'd like
Implement a health check where cilium health checks for BGP connections if they are active.
Key Highlights
New Endpoint: /healthz/bgp
Reports the health of BGP peer connections.
Returns HTTP 200 OK if all BGP peers are in the "Established" state.
Returns HTTP 500 Internal Server Error if one or more peers are not in the "Established" state.
Automatic Integration:
The endpoint is enabled automatically if the BGP control plane is configured and enabled via BGPControlPlaneEnabled.
Enhanced Observability:
Provides clear visibility into the status of BGP peers, helping operators detect and troubleshoot network issues more effectively.
Configuration
The BGP health check endpoint is enabled if the BGP control plane is active (BGPControlPlaneEnabled set to true).
The endpoint is served on the same port as other health checks, configurable via the AgentHealthPort option.
Please complete this section if you have ideas / suggestions on how to implement the feature. We strongly recommend discussing your approach with Cilium committers before spending lots of time implementing a change.