Closed chandramohank closed 10 months ago
Hello, The error was in the HTTP add-on code and chart. We released a new version (0.6.0) last week with this and other fixes, please give it a try and let me know if this has solved
Hi @JorTurFer
After upgraded to (0.6.0), the errors from keda-add-ons-http-external-scaler POD were gone. however i am still seeing the errors in keda-add-ons-http-interceptor POD.
{"level":"error","ts":1698145314.5528457,"logger":"Probe","caller":"handler/probe.go:63","msg":"health check function failed" ,"error":"table has not synced","stacktrace":"github.com/kedacore/http-add-on/interceptor/handler.(*Probe).check\n\tgithub.co m/kedacore/http-add-on/interceptor/handler/probe.go:63\ngithub.com/kedacore/http-add-on/interceptor/handler.(*Probe).Start\n\ tgithub.com/kedacore/http-add-on/interceptor/handler/probe.go:44"}
Do you see those errors all the time? The error means that the internal table for routes hasn't been generated yet, but it should disappear after some seconds
I am seeing all the time.
On Wed, Oct 25, 2023, 03:01 Jorge Turrado Ferrero @.***> wrote:
Do you see those errors all the time? The error means that the internal table for routes hasn't been generated yet, but it should disappear after some seconds
— Reply to this email directly, view it on GitHub https://github.com/kedacore/http-add-on/issues/812#issuecomment-1778073436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4INBIUSTEVE3VJUQGY2ULYBAXTTAVCNFSM6AAAAAA5XM6TZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYGA3TGNBTGY . You are receiving this because you authored the thread.Message ID: @.***>
Any idea @t0rr3sp3dr0 ?
The current chart doesn't exposed a port for the metrics so there is no endpoint:
$ kubectl -n keda get ep keda-add-ons-http-controller-manager-metrics-service
NAME ENDPOINTS AGE
keda-add-ons-http-controller-manager-metrics-service <none> 4h39m
the operator deployment needs to extend:
template:
spec:
containers:
ports:
- containerPort: 8443
name: https
protocol: TCP
$ kubectl -n keda get ep keda-add-ons-http-controller-manager-metrics-service
NAME ENDPOINTS AGE
keda-add-ons-http-controller-manager-metrics-service 10.42.1.89:8443 4h41m
The service isn't correct, but it should point to metrics
, we don't expose to https
endpoint intentionally because we use a metrics proxy to protect the metrics through RBAC
ah, ok. Just wondering this service had no endpoints
ah, ok. Just wondering this service had no endpoints
Yeah, you are right and thanks to your comment I've noticed the gap. The PR is already opened 😄
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity.
Report
Insatlled the HttpAddOn and created the HttpScaler Object. However i am seeing the errors in Interceptor and external scaler Pod logs.
Http Scaler Object
Expected Behavior
Should not show any errors in Interceptor and external scaler pod logs. Should able to read the metrics without any erros.
Actual Behavior
Should able to retrieve the metrics without errors
Steps to Reproduce the Problem
Installed the HttpAddon on Azure AKS cluster and created the HttpScaler Object
Logs from KEDA HTTP operator
1. keda-add-ons-http-interceptor
HTTP Add-on Version
0.5.0
Kubernetes Version
1.26
Platform
Microsoft Azure
Anything else?
No response