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

failed retrieving metric, request failed for query karpenter_reserved_capacity_cpu_utilization{name=\"demo\"}, Post \"http://prometheus-operated:9090/api/v1/query\": dial tcp: lookup prometheus-operated on 10.100.0.10:53: no such host #186

Closed
Balukeethu opened this issue Dec 8, 2020 · 1 comment

Comments

@Balukeethu
Copy link

i have not configured prometheus yet. even though its redirecting to the below specified URL and its failing to collect the metrices. Can you please tell me where this configuration is made ? and how do i change it?

failed retrieving metric, request failed for query karpenter_reserved_capacity_cpu_utilization{name="demo"}, Post "http://prometheus-operated:9090/api/v1/query\": dial tcp: lookup prometheus-operated on 10.100.0.10:53: no such host

@ellistarn
Copy link
Contributor

Hey @Balukeethu 👋 . It looks like you may have solved your own problem. We have an install script that includes prometheus https://github.com/awslabs/karpenter#quick-install---controller--dependencies.

If you want to configure a custom prometheus endpoint, simply update this https://github.com/awslabs/karpenter/blob/main/cmd/controller/main.go#L50

gfcroft pushed a commit to gfcroft/karpenter-provider-aws that referenced this issue Nov 25, 2023
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants