You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
Tried to deploy metrics-server from wget https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml -O metrics-server-components.yaml
Getting this error while trying to get kubectl top nodes: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)
When checked for logs of the pod:
E0223 02:47:56.385022 1 scraper.go:140] "Failed to scrape node" err="Get \"https://10.0.0.25:10250/metrics/resource\": x509: cannot validate certificate for 10.0.0.25 because it doesn't contain any IP SANs" node="worker-0"
E0223 02:47:56.399027 1 scraper.go:140] "Failed to scrape node" err="Get \"https://10.0.0.217:10250/metrics/resource\": x509: cannot validate certificate for 10.0.0.217 because it doesn't contain any IP SANs" node="worker-2"
E0223 02:47:56.400141 1 scraper.go:140] "Failed to scrape node" err="Get \"https://10.0.0.111:10250/metrics/resource\": x509: cannot validate certificate for 10.0.0.111 because it doesn't contain any IP SANs" node="leader"
E0223 02:47:56.402725 1 scraper.go:140] "Failed to scrape node" err="Get \"https://10.0.0.29:10250/metrics/resource\": x509: cannot validate certificate for 10.0.0.29 because it doesn't contain any IP SANs" node="worker-1"
Followed this source and edited yaml file adding - --kubelet-insecure-tls flag under args of the container. But still getting ServiceUnavaliable error. Any idea?
The text was updated successfully, but these errors were encountered:
Sorry for late response. I think I'll need some more time finding out what is needed, but my strong guess is that there is some component missing in the cluster. I'll leave a note for myself: requirement for metrics-server.
And contributions are also highly welcomed 😉
Thanks for reply @egorshulga . I was thinking of closing this issue since it is not really related with deploying the cluster. The cluster is up and running perfectly. I will try to research and if I find anything useful share. As you know, all we lack is time 😓
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tried to deploy metrics-server from
wget https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml -O metrics-server-components.yaml
Getting this error while trying to get
kubectl top nodes
:Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)
When checked for logs of the pod:
Followed this source and edited yaml file adding
- --kubelet-insecure-tls
flag under args of the container. But still getting ServiceUnavaliable error. Any idea?The text was updated successfully, but these errors were encountered: