From 5ac5780d7318f68e63eb6199eb1d80c36eb1a88c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20M=C3=A4kinen?= Date: Wed, 6 May 2020 13:17:25 +0300 Subject: [PATCH] Update storage-aws.md on obsolete aws tags argument. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Table manager can automatically add AWS tags to created DynamoDB tables. Previously this was done using a command line argument like “-dynamodb.index-table.tag=foo=bar” but this moved onto the schema configuration in PR https://github.com/cortexproject/cortex/pull/2221 This PR updates this old reference on the cli argument. Signed-off-by: Juho Mäkinen --- docs/production/storage-aws.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/production/storage-aws.md b/docs/production/storage-aws.md index f011348c3ec..84f39828419 100644 --- a/docs/production/storage-aws.md +++ b/docs/production/storage-aws.md @@ -60,7 +60,6 @@ example set of command-line parameters from a fairly modest install: -dynamodb.periodic-table.write-throughput.scale.out-cooldown=300 # 5 minutes between scale ups -dynamodb.periodic-table.inactive-enable-ondemand-throughput-mode=true -dynamodb.periodic-table.read-throughput=300 - -dynamodb.periodic-table.tag=product_area=cortex -dynamodb.chunk-table.write-throughput=800 -dynamodb.chunk-table.write-throughput.scale.enabled=true @@ -69,7 +68,6 @@ example set of command-line parameters from a fairly modest install: -dynamodb.chunk-table.write-throughput.scale.out-cooldown=300 # 5 minutes between scale ups -dynamodb.chunk-table.inactive-enable-ondemand-throughput-mode=true -dynamodb.chunk-table.read-throughput=300 - -dynamodb.chunk-table.tag=product_area=cortex ``` Several things to note here: @@ -88,3 +86,6 @@ Several things to note here: - `ondemand-throughput-mode` tells AWS to charge for what you use, as opposed to continuous provisioning. This mode is cost-effective for older data, which is never written and only read sporadically. +- If you want to add AWS tags to the created DynamoDB tables you + can do it by adding a `tags` map to your schema definition. See + [`schema configuration`](../configuration/schema-config-reference.md)