编程语言
首页 > 编程语言> > k8s部署calico网络后,calico-node显示READY 0/1

k8s部署calico网络后,calico-node显示READY 0/1

作者:互联网

describe pod显示报错:

Readiness probe failed: 2021-10-02 08:02:33.072 [INFO][205] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with 192.168.232.133,192.168.232.134

原因是master节点网卡比较多,calico选择了错误的网卡,

修改calico.yaml,指定正确的网卡名称即可。

增加在env中增加:

– name: IP_AUTODETECTION_METHOD

value: “interface=ens*”

标签:node,网卡,192.168,BGP,ready,READY,calico
来源: https://www.cnblogs.com/wayne91/p/15429986.html