Failed to scrape node err="request failed, status: \"404 Not Found\"

2.5k Views Asked by At

I'm trying to get the metrics server up, I followed the instructions mentioned in the Github repository (https://github.com/kubernetes-sigs/metrics-server). I'm getting this error when I see the pod logs

I0314 14:35:34.594524       1 serving.go:342] Generated self-signed cert (/tmp/apiserver.crt, /tmp/apiserver.key)
I0314 14:35:35.047018       1 secure_serving.go:266] Serving securely on [::]:443
I0314 14:35:35.047891       1 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController
I0314 14:35:35.048004       1 shared_informer.go:240] Waiting for caches to sync for RequestHeaderAuthRequestController
I0314 14:35:35.048188       1 dynamic_serving_content.go:131] "Starting controller" name="serving-cert::/tmp/apiserver.crt::/tmp/apiserver.key"
E0314 14:35:35.050427       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-22-227.us-west-2.compute.internal"
E0314 14:35:35.050479       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-20-129.us-west-2.compute.internal"
I0314 14:35:35.050546       1 tlsconfig.go:240] "Starting DynamicServingCertificateController"
E0314 14:35:35.047379       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-56-251.us-west-2.compute.internal"
W0314 14:35:35.050635       1 shared_informer.go:372] The sharedIndexInformer has started, run more than once is not allowed
I0314 14:35:35.050699       1 configmap_cafile_content.go:201] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I0314 14:35:35.050708       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0314 14:35:35.050731       1 configmap_cafile_content.go:201] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::client-ca-file"
I0314 14:35:35.050741       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
E0314 14:35:35.051413       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-57-160.us-west-2.compute.internal"
E0314 14:35:35.077006       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-4-16.us-west-2.compute.internal"
E0314 14:35:35.084091       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-19-149.us-west-2.compute.internal"
E0314 14:35:35.099050       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-15-28.us-west-2.compute.internal"
E0314 14:35:35.099496       1 scraper.go:140] "Failed to scrape node" err="request failed, status: \"404 Not Found\"" node="ip-172-31-29-201.us-west-2.compute.internal"

Could someone help?

0

There are 0 best solutions below