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-operator-metrics-apiserver does not listen on metrics port #4794

Closed
schmidt-i opened this issue Jul 14, 2023 · 1 comment
Closed

keda-operator-metrics-apiserver does not listen on metrics port #4794

schmidt-i opened this issue Jul 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@schmidt-i
Copy link

Report

After installation of keda 2.11.1 we receive a TargetDown alert for the keda-operator-metrics-apiserver.
This is the cmd-line how the apiserver is started:
/usr/local/bin/keda-adapter --port=8080 --secure-port=6443 --logtostderr=true --metrics-service-address=keda-operator.blueprint.svc.cluster.local:9666 --client-ca-file=/certs/ca.crt --tls-cert-file=/certs/tls.crt --tls-private-key-file=/certs/tls.key --cert-dir=/certs --v=0

We are using the helm chart to deploy keda and have enabled the metrics endpoint for the metricsServer and the operator:

  values:
    certificates:
      certManager:
        enabled: true
    logging:
      operator:
        format: json
    prometheus:
      metricServer:
        enabled: true
        podMonitor:
          enabled: true
      operator:
        enabled: true
        podMonitor:
          enabled: true

However any connection to port 8080 (metrics port) is refused on the keda-operator-metrics-apiserver.

Expected Behavior

keda-operator-metrics-apiserver exposes metrics on the metrics port (8080) and /metrics

Actual Behavior

Connection refused on port 8080

Steps to Reproduce the Problem

  1. Install keda 2.11.1
  2. Enable prometheus metrics for the metricServer
  3. Connect to the metrics endpoint

Logs from KEDA operator

example

KEDA Version

2.11.1

Kubernetes Version

1.26

Platform

Microsoft Azure

Scaler Details

No response

Anything else?

No response

@schmidt-i schmidt-i added the bug Something isn't working label Jul 14, 2023
@JorTurFer
Copy link
Member

Hi
Thanks for reporting this ❤️
We have already addressed this issue and we are planning a hotfix release (v2.11.2) with this and other fixes

@github-project-automation github-project-automation bot moved this from To Triage to Ready To Ship in Roadmap - KEDA Core Jul 14, 2023
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
Archived in project
Development

No branches or pull requests

2 participants