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
For scaling deployments in particular, use a direct object get rather than the /scale API (#1458)
* For scaling deployments in particular, use a direct object get rather than the /scale API so that it can use the informer cache for better performance.
This is annoying as a special case but is so common and improves performance so much that I think it's worthwhile to include. Another option would be to majorly increase the QPS rate limit on the scaling API client however that would also increase kube-apiserver load while watches/informers are generally much less impactful.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* Update changelog.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* Use the already-normalized GVKR data so less weird string parsing.
Also adds support for StatefulSets for symmetry.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* Apply suggestions from code review
Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* Apply suggestions from code review
Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@
34
34
- Add support for the WATCH_NAMESPACE environment variable to the operator ([#1474](https://github.com/kedacore/keda/pull/1474))
35
35
- Automatically determine the RabbitMQ protocol when possible, and support setting the protocl via TriggerAuthentication ([#1459](https://github.com/kedacore/keda/pulls/1459),[#1483](https://github.com/kedacore/keda/pull/1483))
36
36
- Improve performance when fetching pod information ([#1457](https://github.com/kedacore/keda/pull/1457))
37
+
- Improve performance when fetching current scaling information on Deployments ([#1458](https://github.com/kedacore/keda/pull/1458))
logger.Info("Successfully scaled ScaleTarget to 0 replicas")
100
127
iferr:=e.setActiveCondition(ctx, logger, scaledObject, metav1.ConditionFalse, "ScalerNotActive", "Scaling is not performed because triggers are not active"); err!=nil {
0 commit comments