-
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
Error "pathrecorder.go:107] registered "/metrics" from goroutine 1 [running]" with stack dump #630
Comments
Same for me on AWS EKS: v1.18.9-eks-d1db3c
|
Reproduced in KIND cluster. Looks like this panic doesn't influence Metrics Server functions (exposing Metrics API, Prometheus metrics). I will look into this. |
Confirmed that this is totally harmless. In 0.4.0 we introduced own prometheus metrics handler, but didn't correctly disable default one. As result same path is registered twice, which is reported as error with stacktrace. Will send fix soon |
What happened:
metrics-server
v0.4.0
starts with errorpathrecorder.go:107] registered "/metrics" from goroutine 1 [running]
and stack dump. But it seems working as normal.What you expected to happen:
No error.
Anything else we need to know?:
No.
Environment:
Kubernetes distribution:
Kubernetes 1.17.13, created by kops on AWS
Container Network Setup:
calico with cross-subnet mode enabled
Kubernetes version:
spoiler for Metrics Server manifest:
spoiler for Kubelet config:
spoiler for Metrics Server logs:
/kind bug
The text was updated successfully, but these errors were encountered: