Use bitnami redis helm chart (#493)

* Use bitnami redis helm chart

* wip
This commit is contained in:
Young Bu Park 2020-04-01 13:16:11 -07:00 committed by GitHub
parent ef1ba996da
commit 1171c71ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 5 deletions

View File

@ -16,11 +16,10 @@ We can use [Helm](https://helm.sh/) to quickly create a Redis instance in our Ku
1. Install Redis into your cluster:
```bash
helm install redis stable/redis
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install redis bitnami/redis
```
> This chart comes from the `stable` repository, which is no longer included by default as of Helm v3. You may need to add the stable repo if this is your first time using Helm - documented [here](https://helm.sh/docs/intro/quickstart/#initialize-a-helm-chart-repository).
> Note that you need a Redis 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), also a lower version can be used.
2. Run `kubectl get pods` to see the Redis containers now running in your cluster.

View File

@ -13,7 +13,12 @@ The Redis instance will be installed via Docker when you run `dapr init`, and th
We can use [Helm](https://helm.sh/) to quickly create a Redis instance in our Kubernetes cluster. This approach requires [Installing Helm](https://github.com/helm/helm#install).
1. Install Redis into your cluster: `helm install redis stable/redis`. Note that we're explicitly setting an image tag to get a version greater than 5, which is what Dapr' pub/sub functionality requires.
1. Install Redis into your cluster.
```bash
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install redis bitnami/redis
```
2. Run `kubectl get pods` to see the Redis containers now running in your cluster.
3. Add `redis-master:6379` as the `redisHost` in your redis.yaml file. For example:

View File

@ -8,7 +8,12 @@ Dapr can use any Redis instance - containerized, running on your local dev machi
We can use [Helm](https://helm.sh/) to quickly create a Redis instance in our Kubernetes cluster. This approach requires [Installing Helm](https://github.com/helm/helm#install).
1. Install Redis into your cluster: `helm install redis stable/redis`. 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.
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
```
2. Run `kubectl get pods` to see the Redis containers now running in your cluster.
3. Add `redis-master:6379` as the `redisHost` in your [redis.yaml](#configuration) file. For example:
```yaml