Calico网络故障排查(calico_node is not ready: BIRD is not ready)
现象
1 |
|
解决过程
- 查看calico官网上关于此问题的解释,如下:
官网链接:https://docs.projectcalico.org/archive/v3.18/networking/ip-autodetection
By default, Calico uses the first-found method; the first valid IP address on the first interface (excluding local interfaces such as the docker bridge). However, you can change the default method to any of the following:
- Address used by the node to reach a particular IP or domain (can-reach)
- Regex to include matching interfaces (interface)
- Regex to exclude matching interfaces (skip-interface
大致意思是说:calico默认采用first-found方法,选择第一个接口的第一个有效IP地址(排除本地网桥接口),但是上面的情况,就是calico采用172.19.0.1网桥地址,这个比较疑惑
官网建议采用can-reach、interface、skip-inteface方式之一,通过修改 IP_AUTODETECTION_METHOD,让IP自动探测固定到某一个接口或者IP上
- 解决方案
1 |
|
Calico网络故障排查(calico_node is not ready: BIRD is not ready)
http://example.com/2025/04/27/calico_node_is_not_ready/