diff --git a/daprdocs/content/en/developing-applications/building-blocks/configuration/howto-manage-configuration.md b/daprdocs/content/en/developing-applications/building-blocks/configuration/howto-manage-configuration.md index ab28b15c8..4de325ba6 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/configuration/howto-manage-configuration.md +++ b/daprdocs/content/en/developing-applications/building-blocks/configuration/howto-manage-configuration.md @@ -22,7 +22,7 @@ Create a configuration item in a supported configuration store. This can be a si ### Run Redis with Docker ``` -docker run --name my-redis -p 6379:6379 -d redis +docker run --name my-redis -p 6379:6379 -d redis:6 ``` ### Save an item 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 5e81fb43d..df08db4ca 100644 --- a/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md +++ b/daprdocs/content/en/getting-started/tutorials/configure-state-pubsub.md @@ -42,7 +42,7 @@ Install Redis into your cluster: ```bash helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update -helm install redis bitnami/redis +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. diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md b/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md index 27a254999..8fabd7bc3 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md @@ -92,6 +92,8 @@ An HTTP 204 (No Content) and empty body is returned if successful. Dapr can use any Redis instance - containerized, running on your local dev machine, or a managed cloud service, provided the version of Redis is 5.0.0 or later. +*Note: Dapr does not support Redis >= 7. It is recommended to use Redis 6* + {{< tabs "Self-Hosted" "Kubernetes" "AWS" "GCP" "Azure">}} {{% codetab %}} @@ -105,7 +107,7 @@ You can use [Helm](https://helm.sh/) to quickly create a Redis instance in our K 1. Install Redis into your cluster. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami - helm install redis bitnami/redis + helm install redis bitnami/redis --set image.tag=6.2 ``` 2. Run `kubectl get pods` to see the Redis containers now running in your cluster. diff --git a/daprdocs/content/en/reference/components-reference/supported-configuration-stores/redis-configuration-store.md b/daprdocs/content/en/reference/components-reference/supported-configuration-stores/redis-configuration-store.md index 4e05baf36..e4cd15f31 100644 --- a/daprdocs/content/en/reference/components-reference/supported-configuration-stores/redis-configuration-store.md +++ b/daprdocs/content/en/reference/components-reference/supported-configuration-stores/redis-configuration-store.md @@ -71,7 +71,7 @@ You can use [Helm](https://helm.sh/) to quickly create a Redis instance in our K 1. Install Redis into your cluster. Note that we're explicitly setting an image tag to get a version greater than 5, which is what Dapr' pub/sub functionality requires. If you're intending on using Redis as just a state store (and not for pub/sub), you do not have to set the image version. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami - helm install redis bitnami/redis + helm install redis bitnami/redis --set image.tag=6.2 ``` 2. Run `kubectl get pods` to see the Redis containers now running in your cluster. diff --git a/daprdocs/content/en/reference/components-reference/supported-locks/redis-lock.md b/daprdocs/content/en/reference/components-reference/supported-locks/redis-lock.md index 1a78a7713..3299f6c8e 100644 --- a/daprdocs/content/en/reference/components-reference/supported-locks/redis-lock.md +++ b/daprdocs/content/en/reference/components-reference/supported-locks/redis-lock.md @@ -120,7 +120,7 @@ You can use [Helm](https://helm.sh/) to quickly create a Redis instance in our K 1. Install Redis into your cluster. Note that we're explicitly setting an image tag to get a version greater than 5, which is what Dapr' pub/sub functionality requires. If you're intending on using Redis as just a state store (and not for pub/sub), you do not have to set the image version. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami - helm install redis bitnami/redis + helm install redis bitnami/redis --set image.tag=6.2 ``` 2. Run `kubectl get pods` to see the Redis containers now running in your cluster. diff --git a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-redis-pubsub.md b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-redis-pubsub.md index 0f64d0536..f67256450 100644 --- a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-redis-pubsub.md +++ b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-redis-pubsub.md @@ -67,7 +67,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr ## Create a Redis instance -Dapr can use any Redis instance - containerized, running on your local dev machine, or a managed cloud service, provided the version of Redis is 5.0.0 or later. +Dapr can use any Redis instance - containerized, running on your local dev machine, or a managed cloud service, provided the version of Redis is 5.x or 6.x. {{< tabs "Self-Hosted" "Kubernetes" "AWS" "GCP" "Azure">}} @@ -82,7 +82,7 @@ You can use [Helm](https://helm.sh/) to quickly create a Redis instance in our K 1. Install Redis into your cluster. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami - helm install redis bitnami/redis + helm install redis bitnami/redis --set image.tag=6.2 ``` 2. Run `kubectl get pods` to see the Redis containers now running in your cluster. diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md index 62a99977c..8b94cabea 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md @@ -306,8 +306,9 @@ Follow instructions for [Redis deployment in Kubernetes](#setup-redis) with one When installing Redis Helm package, provide a configuration file that specifies container image and enables required modules: ```bash -helm install redis bitnami/redis -f values.yaml +helm install redis bitnami/redis --set image.tag=6.2 -f values.yaml ``` + where `values.yaml` looks like: ```yaml image: