Skip to content
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

unable to fetch pod metrics for pod podname : no metrics known for pod #3658

Closed
munipravy opened this issue Nov 9, 2020 · 7 comments
Closed
Labels

Comments

@munipravy
Copy link

I am using Prometheus Operator and Promether server from this repo.

Looing for : Trying to trigger HPA using Prometheus adaptor.

Error : 1 reststorage.go:160] unable to fetch pod metrics for pod podname: no metrics known for pod

Need suggestion on Prometheus Adaptor for achieving HPA

@simonpasquier
Copy link
Contributor

@s-urbaniak @dgrisonnet looks like an issue for prometheus-adapter?

@dgrisonnet
Copy link
Contributor

This sounds like the following metrics-server issue: kubernetes-sigs/metrics-server#629

@munipravy
Copy link
Author

@dgrisonnet I am facing this issue with kubernetes cluster v 1.17, is this issue cluster version specific ?
If it is not cluster specific, can you please let me know how can I achieve HPA with Prometheus Adaptor ?

@dgrisonnet
Copy link
Contributor

@munipravy yes after looking into it again, it seems that the issue I linked is specific to 1.19.

As you problem seems to be related to prometheus-adapter, would you mind opening this issue in https://github.com/DirectXMan12/k8s-prometheus-adapter/ and provide your prometheus-adaptor and hpa configurations? I'll help you with the debug from there.

@munipravy
Copy link
Author

@dgrisonnet created new issue - Hpa is failing with the following specification. #340
Please help me with the same

@stale
Copy link

stale bot commented Jun 14, 2021

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.

@stale stale bot added the stale label Jun 14, 2021
@stale
Copy link

stale bot commented Oct 12, 2021

This issue was closed because it has not had any activity in the last 120 days. Please reopen if you feel this is still valid.

@stale stale bot closed this as completed Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants