美文网首页
Calico-Readiness probe failed: c

Calico-Readiness probe failed: c

作者: 乙腾 | 来源:发表于2020-09-30 03:37 被阅读0次

keywords

Readiness probe failed: caliconode is not ready: BIRD is not ready: BGP not established with 10.117.150.23

background

watch kubectl get pods --all-namespaces  @bug1     //前面不加这个watch也可以  kubectl get pods --all-namespaces

# 输出如下                                                 准备                  重试次数
NAMESPACE     NAME                                        READY   STATUS    RESTARTS   AGE
kube-system   calico-kube-controllers-658558ddf8-9zzjg    1/1     Running   0          90s
kube-system   calico-node-9cr5f                           0/1     Running   0          91s
kube-system   calico-node-n99mz                           1/1     Running   0          91s
kube-system   calico-node-nl67v                           1/1     Running   0          91s
kube-system   coredns-bccdc95cf-9s4bm                     1/1     Running   0          56m
kube-system   coredns-bccdc95cf-s8ggd                     1/1     Running   0          56m
kube-system   etcd-kubernetes-master                      1/1     Running   0          55m
kube-system   kube-apiserver-kubernetes-master            1/1     Running   0          55m
kube-system   kube-controller-manager-kubernetes-master   1/1     Running   0          55m
kube-system   kube-proxy-8s87d                            1/1     Running   0          36m
kube-system   kube-proxy-cbnlb                            1/1     Running   0          36m
kube-system   kube-proxy-vwhxj                            1/1     Running   0          56m
kube-system   kube-scheduler-kubernetes-master            1/1     Running   0          55m

analyze

一个node节点的calico pending,describe查看发现events报错:
Readiness probe failed: caliconode is not ready: BIRD is not ready: BGP not established with 10.117.150.23

solve

calico.yaml 文件添加以下二行 - name: IP_AUTODETECTION_METHOD value: "interface=ens.*" # ens 根据实际网卡开头配置
我的网卡是ens33
改成了"interface=ens33"

SEURL:

Relevance:

相关文章

网友评论

      本文标题:Calico-Readiness probe failed: c

      本文链接:https://www.haomeiwen.com/subject/sdusuktx.html