请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

calico可以running但3个节点均处于未就绪状态

kubectl get nodes显示所有节点均ready,但是calico一直未ready
图片描述查看三个节点上calico-node日志均报同样的错:
2022-09-04T19:02:32.168232257-04:00 stdout F 2022-09-04 23:02:32.168 [WARNING][71] felix/health.go 211: Reporter is not ready. name=“int_dataplane"
2022-09-04T19:02:32.168254516-04:00 stdout F 2022-09-04 23:02:32.168 [WARNING][71] felix/health.go 211: Reporter is not ready. name=“async_calc_graph"
2022-09-04T19:02:32.168607283-04:00 stdout F 2022-09-04 23:02:32.168 [WARNING][71] felix/health.go 173: Health: not ready
2022-09-04T19:02:32.994393376-04:00 stdout F 2022-09-04 23:02:32.994 [INFO][71] felix/watchercache.go 181: Full resync is required ListRoot=”/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
2022-09-04T19:02:32.996688022-04:00 stdout F 2022-09-04 23:02:32.996 [INFO][71] felix/watchercache.go 194: Failed to perform list of current data during resync ListRoot=”/calico/resources/v3/projectcalico.org/kubernetesendpointslices" error=resource does not exist: KubernetesEndpointSlice with error: the server could not find the requested resource
2022-09-04T19:02:33.891831774-04:00 stdout F 2022-09-04 23:02:33.891 [WARNING][71] felix/health.go 211: Reporter is not ready. name=“async_calc_graph"
2022-09-04T19:02:33.891848839-04:00 stdout F 2022-09-04 23:02:33.891 [WARNING][71] felix/health.go 211: Reporter is not ready. name=“int_dataplane"
2022-09-04T19:02:33.997615658-04:00 stdout F 2022-09-04 23:02:33.997 [INFO][71] felix/watchercache.go 181: Full resync is required ListRoot=”/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
2022-09-04T19:02:33.999164488-04:00 stdout F 2022-09-04 23:02:33.998 [INFO][71] felix/watchercache.go 194: Failed to perform list of current data during resync ListRoot=”/calico/resources/v3/projectcalico.org/kubernetesendpointslices" error=resource does not exist: KubernetesEndpointSlice with error: the server could not find the requested resource
2022-09-04T19:02:34.99974699-04:00 stdout F 2022-09-04 23:02:34.999 [INFO][71] felix/watchercache.go 181: Full resync is required ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
请老师帮忙看看,不胜感激!

正在回答 回答被采纳积分+3

1回答

刘果国 2022-09-05 09:54:06

重启一下kubelet,从头看日志,看看有没有什么报错。没问题的话kill掉caliconode的pod,触发重启,也是从头看日志。

0 回复 有任何疑惑可以回复我~
  • 提问者 Tity酱 #1
    看了下kube-proxy有报[error] 22#22: *6036 upstream timed out (110: Connection timed out) while connecting to upstream, client: 127.0.0.1, server: 127.0.0.1:6443, upstream: "192.168.0.101:6443", bytes from/to client:0/0, bytes from/to upstream:0/0。
    回复 有任何疑惑可以回复我~ 2022-09-05 10:05:29
  • 提问者 Tity酱 #2
    老师,我就1个master节点,不用nginx能否避开这个问题
    回复 有任何疑惑可以回复我~ 2022-09-05 10:06:22
  • 提问者 Tity酱 #3
    老师,我直接配置的apiserver地址,没用ng转发。现在大致情况和之前一样,node都是ready状态,但calico node还是未就绪,日志报[ERROR][1] client.go 290: Error getting cluster information config ClusterInformation="default" error=Get "https://10.254.0.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default": context deadline exceeded
    回复 有任何疑惑可以回复我~ 2022-09-05 15:25:46
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号