-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Autoscaling not working with Keda #6470
Comments
Keda Metrics Logs as below kubectl get apiservice v1beta1.external.metrics.k8s.io -o yaml
|
Report
The autoscaling is not working as expected after the upgrade to version 2.16.1
Expected Behavior
The autoscaling should work
Actual Behavior
Autoscaling not working
Steps to Reproduce the Problem
kedaoperatorerror08012024.txt
2.When we send message from service bus the scaling should happen but its not happening
Logs from KEDA operator
2025-01-08T16:22:17Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "pdfgenerator-autoscaler", "error": "subscription r112atstriggermessageprocessing doesn't exist in topic r112atstriggermessageprocessing"}
2025-01-08T16:22:17Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "orchestratorservice-autoscaler", "error": "subscription orchestratorallevents doesn't exist in topic allevents"}
2025-01-08T16:22:17Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "pilmrservice-autoscaler", "error": "Get "": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:17Z ERROR scale_handler error getting scale decision {"scaledObject.Namespace": "", "scaledObject.Name": "pilmrservice-autoscaler", "scaler": "azureServiceBusScaler", "error": "Get "": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:17Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "largepdfgenerator-autoscaler", "error": "Get "": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:17Z ERROR scale_handler error getting scale decision {"scaledObject.Namespace": "a3services-uat-icanr111", "scaledObject.Name": "largepdfgenerator-autoscaler", "scaler": "azureServiceBusScaler", "error": "Get "https://.servicebus url/?api-version=2021-05": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "pilmrservice-autoscaler", "error": "Get "https://.servicebus url/necltr111createpilmr/Subscriptions/necltr111createpilmr?api-version=2021-05": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR scale_handler error getting scale decision {"scaledObject.Namespace": "", "scaledObject.Name": "pilmrservice-autoscaler", "scaler": "azureServiceBusScaler", "error": "Get "https://.servicebus url/necltr111createpilmr/Subscriptions/necltr111createpilmr?api-version=2021-05": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "a3services-uat-caqa1r111", "name": "messagequeueservice-autoscaler", "error": "Get "https://.servicebus url/?api-version=2021-05": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "largepdfgenerator-autoscaler", "error": "subscription r112largeatstriggermessageprocessing doesn't exist in topic r112largeatstriggermessageprocessing"}
2025-01-08T16:22:18Z ERROR scale_handler error getting scale decision {"scaledObject.Namespace": "", "scaledObject.Name": "largepdfgenerator-autoscaler", "scaler": "azureServiceBusScaler", "error": "subscription r112largeatstriggermessageprocessing doesn't exist in topic r112largeatstriggermessageprocessing"}
2025-01-08T16:22:18Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "", "name": "pdfgenerator-autoscaler", "error": "Get "https://sb?api-version=2021-05\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR scale_handler error getting scale decision {"scaledObject.Namespace": "", "scaledObject.Name": "pdfgenerator-autoscaler", "scaler": "azureServiceBusScaler", "error": "Get "https://sb?api-version=2021-05\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR azure_servicebus_scaler error getting service bus entity length {"type": "ScaledObject", "namespace": "a3services-dev-secr111", "name": "documentconverterservice-autoscaler", "error": "Get "https://sb-": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
2025-01-08T16:22:18Z ERROR scale_handler error getting scale decision {"scaledObject.Namespace": "", "scaledObject.Name": "documentconverterservice-autoscaler", "scaler": "azureServiceBusScaler", "error": "Get "https://sb": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
==================
KEDA Version
2.16.1
Kubernetes Version
1.30
Platform
Microsoft Azure
Scaler Details
Azure Service bUS
Anything else?
Can see a error like this also
Can see the following in Keda Scalerfailed event
context deadline exceeded (Client.Timeout exceeded while awaiting headers)
The text was updated successfully, but these errors were encountered: