-
Notifications
You must be signed in to change notification settings - Fork 267
Add support for DynamoDB Global Table V2 (2019.11.21) #2077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for DynamoDB Global Table V2 (2019.11.21) #2077
Comments
Issues go stale after 180d of inactivity. |
/remove-lifecycle stale |
Hey @gcalv0, to support this feature we need to introduce the apiVersion: dynamodb.services.k8s.aws/v1alpha1
kind: Table
metadata:
name: mytable
annotations:
services.k8s.aws/deletion-policy: retain
services.k8s.aws/read-only: "true"
services.k8s.aws/adoption-policy: adopt-or-create
services.k8s.aws/adoption-fields: |
{
"tableName": "mytable"
}
I hope this helps! |
fixes aws-controllers-k8s/community#2077 This PR implements support for managing DynamoDB table replicas through the `tableReplicas` field. This enhancement allows users to manage multi-region table replicas that automatically remain in sync. This is complemented by a `replicaDescription` field in the Table status for tracking replica states. ## Changes Overview - Added `tableReplicas` field to Table spec for defining replica configurations across regions - Added controller logic for replica lifecycle management (creation, updates, deletion) - Implemented validation rules: - DynamoDB Streams must be enabled with NEW_AND_OLD_IMAGES - Terminal error conditions for invalid configurations - E2E tests
/reopen |
@a-hilaly: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is your feature request related to a problem?
Yes, actually ACK creates version 2017 (2017.11.29) which requires to create an empty table in the destination before adding global tables for a region. Also there are several restrictions/changes regarding the legacy version.
This request is related with the following closed issue:
#1034
Describe the solution you'd like
Use the actual version as a default to avoid braking changes and offer the possibility to specify the version in the ACK manifest.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
The text was updated successfully, but these errors were encountered: