Closed khteh closed 1 month ago
/triage accepted /assign @dgrisonnet
This seems like a problem from your client resetting the connection before metrics-server is able to read any data that the client is supposed to be sending.
This should be pretty harmless but it could be worth checking if there is any misconfiguration on your client if that error happens frequently.
This issue has not been updated in over 1 year, and should be re-triaged.
You can:
/triage accepted
(org members only)/close
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
/remove-triage accepted
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
Would it be possible to log this using the "regular" log formatting?
Here's a sample of our metrics-server pod stdout output:
E0722 10:29:00.913915 1 scraper.go:140] "Failed to scrape node" err="Get \"https://redacted:10250/metrics/resource\": context deadline exceeded" node="ip-redacted.eu-north-1.compute.internal"
E0722 10:29:15.908388 1 scraper.go:140] "Failed to scrape node" err="Get \"https://redacted:10250/metrics/resource\": context deadline exceeded" node="ip-redacted.eu-north-1.compute.internal"
http2: server: error reading preface from client redacted:56766: read tcp redacted:4443->redacted:56766: read: connection reset by peer
http2: server: error reading preface from client redacted:56766: read tcp redacted:4443->redacted:56766: read: connection reset by peer
We're parsing the first two lines using a log scraper, and the second two break our parsing logic.
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What happened:
What you expected to happen: No error.
Anything else we need to know?:
Environment:
kubectl version
):spoiler for Metrics Server manifest:
spoiler for Kubelet config:
spoiler for Metrics Server logs:
Status of Metrics API:
spolier for Status of Metrics API:
``` kubectl describe apiservice v1beta1.metrics.k8s.io ``` ``` Name: v1beta1.metrics.k8s.io Namespace: Labels: k8s-app=metrics-server Annotations:/kind bug