redis 6 update (#2718)

Signed-off-by: yaron2 <schneider.yaron@live.com>

Signed-off-by: yaron2 <schneider.yaron@live.com>
This commit is contained in:
Yaron Schneider 2022-08-11 12:32:08 -07:00 committed by GitHub
parent 944fbe5851
commit 08f2cf2733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 8 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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: