You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KEDA Version: 2.15.1
Running on Kubernetes 1.29+ {"version": "v1.29.7-eks-a18cd3a"}
I am running into a transient issue where i have multiple scaledObjects (464) in many namespaces. We use metricsAPI scaler to poll against an api pod in each namespace that dynamically scales off an endpoint.
This works extremely well and at scale. However, what we noticed is if there is an issue where multiple scaledObjects are failing at once (such as a networking or control plane issue), the Operator will run into a null pointer reference when it runs into many variations of:
Can replace namespace with any of the 150 namespaces etc. This results in the Keda Operator restarting and prior to a restart the following nil pointer reference logs are shown:
Expected Behavior
I'd expect the Operator to not run into null pointers when Scalers fail at a large amount or run into transient issues.
Actual Behavior
Operator cannot get a scaling decision, spread across 500 scaledObjects and runs into nill pointer panic and restarts
Steps to Reproduce the Problem
Deploy Keda Operator
Launch 500 scaledObjects
Run a situation where the API endpoint it is attempting to scale from refuses a connection or results in errors in getting scaled decision (such as mass deleting the api pods etc.)
Report
KEDA Version: 2.15.1
Running on Kubernetes 1.29+ {"version": "v1.29.7-eks-a18cd3a"}
I am running into a transient issue where i have multiple scaledObjects (464) in many namespaces. We use
metricsAPI
scaler to poll against an api pod in each namespace that dynamically scales off an endpoint.This works extremely well and at scale. However, what we noticed is if there is an issue where multiple scaledObjects are failing at once (such as a networking or control plane issue), the Operator will run into a null pointer reference when it runs into many variations of:
Can replace
namespace
with any of the 150 namespaces etc. This results in the Keda Operator restarting and prior to a restart the following nil pointer reference logs are shown:Expected Behavior
I'd expect the Operator to not run into null pointers when Scalers fail at a large amount or run into transient issues.
Actual Behavior
Operator cannot get a scaling decision, spread across 500 scaledObjects and runs into nill pointer panic and restarts
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.15.1
Kubernetes Version
1.29
Platform
Amazon Web Services
Scaler Details
MetricsAPI
Anything else?
No response
The text was updated successfully, but these errors were encountered: