-
Notifications
You must be signed in to change notification settings - Fork 271
Description
Describe the bug
I have a table created using the dynamodb ack controller with some provisioned read and write capacity units. Also, i have asked the applicationautoscaling-controller to autoscale these two metrics based on the throughput.
While the autoscaling controller works fine by enabling the autoscaling for read and write adjusting the values but the dynamodb-ack-controller keeps overriding it with the provisioned values set in Tables crd.
Steps to reproduce
- Create a table using 'Table' crd with provisioned read and write capacity units.
- Enable the auto-scaling on this table by creating 'ScalableTarget' and 'ScalingPolicy' for the application-autoscaling-controller.
- Simulate the increasing load to trigger autoscaling defined in 'ScalingPolicy'.
Expected outcome
application-autoscaling-controller should nicely adjust the metrics based on the load. Also, the dynamodb-ack-controller should not override the adjusted metric value (during scalup or scaledown events) to previously provisioned value (defined in Table crd) irrespective of whatever the load is.