autoscaling.keda.sh/paused is not working as expected #6800
Unanswered
vimallearnz
asked this question in
Q&A / Need Help
Replies: 1 comment
-
which KEDA version? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The very first time when we update the paused auto-scaling annotation (autoscaling.keda.sh/paused) to true, it deletes the hpa and working as expected.
But, after removing the paused scaling annotation, it is enabling HPA and marking the paused flag in scaled object as false however within a minute the paused flag in autoscaling becomes true.
If we follow the below steps, the paused functionality is working fine.
kubectl annotate scaledobject order --namespace ns1 autoscaling.keda.sh/paused="true"
kubectl annotate scaledobject order --namespace ns1 autoscaling.keda.sh/paused-
kubectl delete hpa keda-hpa-order -n ns1
Attached the screenshot for the same

Please provide us the fix, to make paused feature work as expected, without the workaround of deleting the HPA after the annotation is removed.
Beta Was this translation helpful? Give feedback.
All reactions