环境信息:
K3s 版本:
k3s version v1.25.7+k3s1 (f7c20e23)
go version go1.19.6
节点 CPU 架构、操作系统和版本::
Linux h3c-01 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
集群配置:
AutoK3s native模式一键部署
v1.25.7+k3s1
2Master
1node
问题描述:
kube-system / metrics-serve服务日志报错如下 三台机器防火墙全部关闭
预期结果:
可以正常通信
实际结果:
没有
附加上下文/日志:
日志
417 08:51:26.614596 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:51:41.613205 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:51:41.613384 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:51:56.614967 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:51:56.615719 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:52:11.613932 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:52:11.614070 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:52:26.617582 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:52:26.618298 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:52:41.617419 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:52:41.618674 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:52:56.613840 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:52:56.614083 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:53:11.614796 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:53:11.618379 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"
E0417 08:53:26.616968 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.11:10250/metrics/resource\": context deadline exceeded" node="h3c-01"
E0417 08:53:26.617280 1 scraper.go:140] "Failed to scrape node" err="Get \"https://192.168.13.13:10250/metrics/resource\": context deadline exceeded" node="h3c-03"