-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Metrics server fails to collect metrics for Windows pods/nodes #539
Comments
In Metrics Server depends on scraping Kubelet to get metrics. In logs you can see responses from Kubelet: content:
It's not a problem on Metrics Server side, but on Kubelet. |
I think this is fixed by kubernetes/kubernetes#90554 which has an outstanding backport request to 1.18. |
@marosset I'll look into this, can I just deploy a 1.19 kubelet.exe/kubeproxy.exe into the Windows VM? I haven't tried this before. |
@alexeldeib Sorry I don't fully understand your question, |
Closing as problem was identified as a problem in Kubelet |
Hey @AlexEyler and @marosset I wanted to add HPA for my windows pods for which I wanted to have Metrics server configured to get info out of my windows node. What documentation or steps can I follow to do so? |
What happened:
Running
kubectl top node
results in this error for our Windows agents:Error from server (NotFound): nodemetrics.metrics.k8s.io "7813k8s004" not found
What you expected to happen:
I'd expect to see some stats for the Windows agents
Anything else we need to know?:
Metrics for linux pods/nodes work fine
Environment:
kubectl version
): 1.18.2 (both client/server)/king bug
The text was updated successfully, but these errors were encountered: