Skip to content

dynamodb ack controller keeps overriding the values set by applicationautoscaling-controller #2033

@rj425

Description

@rj425

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategorizes issue or PR as related to existing feature enhancements.service/dynamodbIndicates issues or PRs that are related to dynamodb-controller.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions