Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubernetes1.24.1安装metric时出现的问题 #13

Closed
2822132073 opened this issue Jun 2, 2022 · 3 comments
Closed

kubernetes1.24.1安装metric时出现的问题 #13

2822132073 opened this issue Jun 2, 2022 · 3 comments

Comments

@2822132073
Copy link

我的k8s版本是1.24.1
大佬,我用了你的metric的yaml,但我是使用kubeadm安装的,在安装后,执行 top no显示
[root@master-1 ~]# kubectl top no NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% master-2 436m 10% 2387Mi 41% master-3 <unknown> <unknown> <unknown> <unknown> node-1 <unknown> <unknown> <unknown> <unknown> node-2 <unknown> <unknown> <unknown> <unknown> master-1 <unknown> <unknown> <unknown> <unknown> [root@master-1 ~]#
在日志里面发现
│ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.211:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.213:10250/stats/summary?only_cpu_and_memory=true\": dial tcp 172.16.0.213:10250: i/o timeout" node="master-3" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.214:10250/stats/summary?only_cpu_and_memory=true\": dial tcp 172.16.0.214:10250: i/o timeout" node="node-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.215:10250/stats/summary?only_cpu_and_memory=true\": dial tcp 172.16.0.215:10250: i/o timeout" node="node-2" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.213:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-3" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.215:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="node-2" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.211:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.214:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="node-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.214:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="node-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.215:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="node-2" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.213:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-3" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.211:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.213:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-3" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.215:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="node-2" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.214:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="node-1" │ │ craper.go:139] "Failed to scrape node" err="Get \"https://172.16.0.211:10250/stats/summary?only_cpu_and_memory=true\": context deadline exceeded" node="master-1"
麻烦问一下,这个是什么问题嘛

@cby-chen
Copy link
Owner

cby-chen commented Jun 3, 2022

https://zhuanlan.zhihu.com/p/523927494 我刚写了新的文章,你可以看看,我安装是正常的

@2822132073
Copy link
Author

发现是calico出现问题了

@2822132073
Copy link
Author

关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants