From 24417b1bcaf8701711c3230b551facbd35e38e95 Mon Sep 17 00:00:00 2001 From: salaboy Date: Wed, 14 Dec 2022 08:38:46 +0000 Subject: [PATCH 1/4] Small suggestion to save resources for local dev This is just a suggestion, feel free to disregard it, but I found myself using that flag all the time for dev purposes. Signed-off-by: salaboy Signed-off-by: Mauricio Salatino --- .../en/getting-started/tutorials/configure-state-pubsub.md | 1 + 1 file changed, 1 insertion(+) diff --git a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md index 7e394d70842..a262871011c 100644 --- a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md +++ b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md @@ -46,6 +46,7 @@ helm install redis bitnami/redis --set image.tag=6.2 ``` For Dapr's Pub/sub functionality, you'll need at least Redis version 5. For state store, you can use a lower version. +Notice that by adding `--set architecture=standalone` create a single replica redis setup which can save memory and resources if you are in working in a local environment. Run `kubectl get pods` to see the Redis containers now running in your cluster: From 6411364a1782251afe4d08be9eeedd94fd8cff88 Mon Sep 17 00:00:00 2001 From: Lenshood Date: Wed, 14 Dec 2022 11:40:15 +0800 Subject: [PATCH 2/4] fix broken ref in distributed_lock_api Signed-off-by: Lenshood Signed-off-by: Mauricio Salatino --- daprdocs/content/en/reference/api/distributed_lock_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/reference/api/distributed_lock_api.md b/daprdocs/content/en/reference/api/distributed_lock_api.md index ba250e3ae09..f7927021882 100644 --- a/daprdocs/content/en/reference/api/distributed_lock_api.md +++ b/daprdocs/content/en/reference/api/distributed_lock_api.md @@ -21,7 +21,7 @@ POST http://localhost:/v1.0-alpha1/lock/ Parameter | Description --------- | ----------- `daprPort` | The Dapr port -`storename` | The `metadata.name` field component file. Refer to the [component schema] ({{< ref component-schema.md>}}) +`storename` | The `metadata.name` field component file. Refer to the [component schema]({{< ref component-schema.md >}}) #### Query Parameters @@ -95,7 +95,7 @@ POST http://localhost:/v1.0-alpha1/unlock/ Parameter | Description --------- | ----------- `daprPort` | The Dapr port -`storename` | The `metadata.name` field component file. Refer to the [component schema] ({{< ref component-schema.md>}}) +`storename` | The `metadata.name` field component file. Refer to the [component schema]({{< ref component-schema.md >}}) #### Query Parameters From aefd25594d6b669cd7d861bce5c671514e955245 Mon Sep 17 00:00:00 2001 From: salaboy Date: Thu, 15 Dec 2022 08:10:44 +0000 Subject: [PATCH 3/4] Update daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Signed-off-by: salaboy Signed-off-by: Mauricio Salatino --- .../en/getting-started/tutorials/configure-state-pubsub.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md index a262871011c..64cf08b469f 100644 --- a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md +++ b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md @@ -46,7 +46,7 @@ helm install redis bitnami/redis --set image.tag=6.2 ``` For Dapr's Pub/sub functionality, you'll need at least Redis version 5. For state store, you can use a lower version. -Notice that by adding `--set architecture=standalone` create a single replica redis setup which can save memory and resources if you are in working in a local environment. +Notice that adding `--set architecture=standalone` creates a single replica Redis setup, which can save memory and resources if you are working in a local environment. Run `kubectl get pods` to see the Redis containers now running in your cluster: From a21176e7b0a24564efacdcddcdecf505e93c5f24 Mon Sep 17 00:00:00 2001 From: salaboy Date: Fri, 16 Dec 2022 08:23:35 +0000 Subject: [PATCH 4/4] Update daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md Co-authored-by: Mark Fussell Signed-off-by: salaboy Signed-off-by: Mauricio Salatino --- .../en/getting-started/tutorials/configure-state-pubsub.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md index 64cf08b469f..49d2522c2f5 100644 --- a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md +++ b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md @@ -46,7 +46,7 @@ helm install redis bitnami/redis --set image.tag=6.2 ``` For Dapr's Pub/sub functionality, you'll need at least Redis version 5. For state store, you can use a lower version. -Notice that adding `--set architecture=standalone` creates a single replica Redis setup, which can save memory and resources if you are working in a local environment. +Note that adding `--set architecture=standalone` to the `install` command creates a single replica Redis setup, which can save memory and resources if you are working in a local environment. Run `kubectl get pods` to see the Redis containers now running in your cluster: