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

External scaler GetMetricSpec function cannot handle "interceptor" host #272

Closed
arschles opened this issue Sep 28, 2021 · 0 comments · Fixed by #273
Closed

External scaler GetMetricSpec function cannot handle "interceptor" host #272

arschles opened this issue Sep 28, 2021 · 0 comments · Fixed by #273
Labels
bug Something isn't working
Milestone

Comments

@arschles
Copy link
Collaborator

arschles commented Sep 28, 2021

The external scaler will fail if GetMetricSpec is called with "interceptor" as the ScaledObject's host value.

Expected Behavior

It returns a response that includes a target value for the interceptor fleet

Actual Behavior

It returns an error

Steps to Reproduce the Problem

@ajanth97 has reproduced this problem, so I will let him elaborate here.

Specifications

  • KEDA Version: 2.4.0
  • KEDA HTTP Add-on Version: docker images at version sha-f8d7c0b (f8d7c0b)
@arschles arschles added the bug Something isn't working label Sep 28, 2021
ajanth97 added a commit to ajanth97/http-add-on that referenced this issue Sep 28, 2021
ajanth97 added a commit to ajanth97/http-add-on that referenced this issue Sep 28, 2021
Signed-off-by: Ajanth <ajanth1997@gmail.com>
arschles added a commit to ajanth97/http-add-on that referenced this issue Oct 1, 2021
arschles added a commit to ajanth97/http-add-on that referenced this issue Oct 6, 2021
arschles added a commit to ajanth97/http-add-on that referenced this issue Oct 8, 2021
ajanth97 added a commit that referenced this issue Oct 8, 2021
* Fixing issue #272

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Fixing scaler test

Signed-off-by: Ajanth <ajanth1997@gmail.com>

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
@arschles arschles added this to the v0.2.0 milestone Oct 8, 2021
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

Successfully merging a pull request may close this issue.

1 participant