ScaledObject doesn't have correct Idle/Min/Max Replica Counts specification #3014
Unanswered
trondhindenes
asked this question in
Q&A / Need Help
Replies: 1 comment 3 replies
-
Can you elaborate what the scenario is where your max replicas would be 0? Do you want to "pause autoscaling"? Converting to a discussion because this works as intended, unless I'm misunderstanding the scenario. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Report
Keda reports an error if all of idleReplicaCount, minReplicaCount and maxReplicaCount are 0, effectively disabling the scaler. It isi desirable to be able to disable a scaler instead of deleting it, analoguos to scaling a deployment to zero instead of deleting it.
Expected Behavior
keda should simply scale its target to 0 if all of idleReplicaCount, minReplicaCount and maxReplicaCount are 0
Actual Behavior
a warning event is logged: "ScaledObject doesn't have correct Idle/Min/Max Replica Counts specification"
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.6.1
Kubernetes Version
1.21
Platform
Amazon Web Services
Scaler Details
cron
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions