Editing ScaledObject on Workload in Production #6334
-
Hey all! First, thanks for a great project while I'm not using it in production yet testing is going very well and I'm excited to see it in action. I've been running load tests using Keda ScaledObjects to control the HPA for my Deployment. I'm using the How can I ensure that the HPA doesn't scale down my workload to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
I think that I see the issue in the
It looks like the connection to GCP metrics breaks and then the scaler uses the fallback:
failureThreshold: 3
replicas: 10 Should I increase the |
Beta Was this translation helpful? Give feedback.
The proposal is later changed to a fallback behavior:
Where the options are now:
behavior: “useCurrentReplicasAsMinimum”
or
behavior: “static”
So, it is a minimum. If the
fallback.replicas
is higher, that number will be used.This is only useful if you want to make sure that it never scales down. So it either stays the same (current replicas) or higher (fallback replicas).
What might also be important in this discussion, but only as an addition as root cause to the initial problem.
As I see it, is that corradomatt's adjustment immediately puts it in the doFallbackScaling. At this piece of code, he immediately fal…