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

Keda Metrics Server prometheus metrics port doesn't work #504

Closed
northys opened this issue Aug 2, 2023 · 2 comments
Closed

Keda Metrics Server prometheus metrics port doesn't work #504

northys opened this issue Aug 2, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@northys
Copy link

northys commented Aug 2, 2023

After the upgrade to keda version which introduced third pod (there used to be only 2 pods IIRC) we started having issues with scrapping metrics from keda metrics server although we have enabled it using following config.

prometheus:
  metricServer:
    enabled: true
    serviceMonitor:
      enabled: true

Expected Behavior

Connection to metrics server service at port 8080 (or specified) returns metrics at path /metrics.

Actual Behavior

Connection to metrics-server:8080 results in connection refused.

Steps to Reproduce the Problem

  1. deploy keda with provided config
  2. HTTP GET for metrics server service at port 8080 results in following error in prometheus Get "http://192.168.73.158:8080/metrics": dial tcp 192.168.73.158:8080: connect: connection refused
  3. webhooks and operator monitoring endpoint works just fine, only metrics is broken

Specifications

  • KEDA Version: 2.11.0
  • Platform & Version:
  • Kubernetes Version: EKS 1.27
  • Scaler(s): -
@northys northys added the bug Something isn't working label Aug 2, 2023
@trampfox
Copy link

trampfox commented Aug 3, 2023

The issue you are describing sounds similar to the one we encountered after upgrading to the version 2.11.1 of the chart.

We were able to resolve the issue by upgrading to version 2.11.2: https://github.com/kedacore/keda/releases/tag/v2.11.2

@northys northys closed this as completed Aug 4, 2023
@northys
Copy link
Author

northys commented Aug 4, 2023

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants