Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upprometheus can't scrap kubelet target "Error: serevr returned HTTP status 401 Unauhtorized" #5185
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for your report. It looks as if this is actually a question about usage and not development. To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list. Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future. |
Mnbill commentedFeb 5, 2019
Bug Report
What did you do?
I installed prometheus to monitor my kubernetes cluster.
What did you expect to see?
prometheus scrap metrics from my kubernetes cluster,
In prometheus dashbored target
all targets on UP status
What did you see instead? Under which circumstances?
My prometheus can't scrap metrics
In prometheus dashbored target
my kubelete target is Down with Error "serevr returned HTTP status 401 Unauhtorized"
and kube-dns is donws with Error "Get http://10.13.2.39:10054/metrics: dial tcp 10.13.2.39:10054: connect: connection refused"
PS my apiserver and kube-state are UP
Environment
System information:
OS: ubuntu 16.04 xenial
Kernel: Linux 4.15.0-1036-azure
Kubernetes:
Docker: v1.13.1
Prometheus version: v2.3.1
Prometheus configuration file:
Kubelet logs
systemctl status kubelet
kube-dns pod logs