A kubernetes controller for creating/deleting dynamodb tables
1.2K
A kubernetes controller for creating/deleting dynamodb tables based on the side8/k8s-operator
Available on Docker hub
$ export VERSION="0.1.0"
$ docker build . --tag "microdc/k8s-dynamodb-controller:${VERSION}" --tag "microdc/k8s-dynamodb-controller:latest"
To create a table using the example yaml config follow these steps.
kubectl apply -f example/Table2.yaml
$ kubectl edit dynamodb envname.appname.table
#add the following
TTL_BOOLEAN='true'
TTL_ATTRIBUTE='example'
kubectl delete dynamodb envname.appname.table
Requires: shellcheck and python(for yaml test) Tests run at container build. test.sh can bes used for local command line testing.
Content type
Image
Digest
Size
68 MB
Last updated
almost 9 years ago
docker pull equalexpertsmicrodc/k8s-dynamodb-controller