Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
45: Portworks, docs, cleanup
-
2
Description
Our custom autoscaler resources expose scale subresource. Under normal operation, only the HorizontalPodAutoscaler changes the scale values. However the value can be changed via 'kubectl scale' or 'kubectl edit'. And these changes can occur while couchbase is currently scaling to reach desired goals of HPA.
The result of this is that auto-scaling becomes non-deterministic in some scenarios.
When the conflicts are coming from multiple HPAs then we can simple configure HPA behavior with backoffs.
However, when conflicts are coming from non-HPA sources then the operator itself needs some kind of backoff and revert behavior.